Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No language overrides for default (fallback) language #595

Open
piMoll opened this issue Dec 17, 2024 · 0 comments
Open

No language overrides for default (fallback) language #595

piMoll opened this issue Dec 17, 2024 · 0 comments

Comments

@piMoll
Copy link

piMoll commented Dec 17, 2024

When QWC2 does not know the current language (e.g. "en-GB"), it first falls back to the first country in the language-group (for english: "en-AG") and then to the default language, usually "en-US".

When this happens, no language overrides are loaded for the default language.

my setup:

  • QWC2 LTS 2024
  • I haven't made any changes to static > translations > tsconfig.json, so it contains one override for bottombar.viewertitle_label
  • I added static > translations > en-US-overrides.json with an override for viewertitle_label
  • in config.json, I activated language overrides

Generally, language overrides work when QWC2 knows the locale ("de-CH", "de-DE"....)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant