Skip to content

Only German and English translations available #460

Description

@stsdc

Expected Behavior

Translations expected to show up on Language dropdown. Even there is nosniff policy active it is expected to be able to choose desired language.

Actual Behavior

Detects locale somehow, puts some translations in Polish and places Polish flag, but fails to download translation.

[Error] Refused to execute https://opensensemap.org/translations/angular/angular-locale_pl.js as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.

Zrzut ekranu z 2022-12-20 01 08 17

I'm using Firefox bt pasted screenshot from Midori since it's webkit and has more descriptive logs.
On Firefox it's just:
obraz

Environment

  • OS: elementary OS 6.1 Jólnir x86_64 Kernel: 6.0.8-060008-generic
  • Browser & Version: Firefox 107.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions