-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Localization: Use of country specific locales only involves some restrictions #19
Comments
Okay, I perfectly get it. This "problem" actually influences all platforms. It really makes sense to mark all localizations as more general and less specific, unless there are at least two localizations for one language, for example en_GB vs en_US. |
I will check your branch. |
Confirming the issue is basically fixed. |
Wait. So if you delete RSS Guard settings. Change your DESKTOP language to let's say Czech. Then you start RSS Guard and it is not in Czech and starts in English instead? |
Please, test with latest build, I added some more logging. Post logs here: |
For me, when I switch language of my distro to "cs_CZ" and then launch clean RSS Guard, it works. Language magic is made and "cs" localization is loaded (as exactly "cs_CZ" is not available). |
No, this was a misunderstanding. The translations which are currently available all work exactly as expected. E. g. launch 1b4ea72 with All I wanted to say that it is not possible to test whether country specific translations are working all right as simply no usable one exists. IMO it is not even necessary to reopen this issue. If there sould be something wrong it will come to our attention once country specific translations exist. |
Well, the method See docs |
Using country specific translation files only is restricting the usage of translations.
A country specific translation like
de_DE
is only used when exactly the same locale is set at runtime. So if a translation like this is the only available one of a particular language the corresponding application will not make use of it and fall back to English on systems were a different country specific locale likede_CH
is used. FWIW a more verbose explanation of the problem is available here.Official documentation how to deal with this doesn't seem to exist. On LXQt we worked around the problem by using language specific locales like
de
as long as only a single translation of the language is available which behaves exactly as desired in all kinds of contexts.I thought this would be the same with RSS Guard and created a branch l10n-drop-countries which doesn't work, though. It compiles flawlessly but a language specific locale like
de
doesn't get used with any of the country specific ones, no clue why.The text was updated successfully, but these errors were encountered: