You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some follow up information, my other locales work completely fine. I can load any other language and it renders perfectly. So the message in the console might be misleading.
The 3rd image shows that the locale looks valid, the keys are there (and I guess the prepended language code is fine).
I'm a bit stumped at the issue though. The json looks fine, the key is there in localStorage showing valid json.
majora2007
changed the title
Bug(translations): Locale keys are having language prefix prepended when not default language
Bug(translations): One locale file doesn't load, despite being valid json. All others of the same nature do.
Sep 23, 2024
I don't know why it doesn't work.. I took some screenshots. Here is the login screen
it displays ga.login.forgot-password
ga.login.forgot-password in the code
on weblate.org there is the translation:
All translations have been translated:
I've tried a new browser - chromnium - then cleared all data in the console - it switched back to English, I went to settings and selected Irish/Gaeilge and the keys are displayed
This was solved. The language code was not added to the available languages. Weblate does not use the same language codes as Transloco, so manual mapping is needed.
Is there an existing issue for this?
Which Transloco package(s) are the source of the bug?
Transloco
Is this a regression?
Yes
Current behavior
user-preferences.tap-to-paginate-label
ga.user-preferences.tap-to-paginate-label
which breaks every key in the app.Expected behavior
To work as it did previously, lookup as
user-preferences.tap-to-paginate-label
and thus render the localization changes.Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
https://demo.kavitareader.com/settings#preferences
Transloco Config
Please provide the environment you discovered this bug in
Browser
No response
Additional context
You can reproduce this here:
https://demo.kavitareader.com/
Demouser/Demouser64
I would like to make a pull request for this bug
No
The text was updated successfully, but these errors were encountered: