Replies: 1 comment 3 replies
-
|
The best solution is to read the documentation on this topic: https://docs.weblate.org/en/latest/admin/languages.html#adding-new-translations |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that Weblate is using(?) RFC style language codes and while it has some built-in aliases, when exporting the translations, they are always using "main" language code, which may not correctly match the language codes used in different platforms.
For example, Weblate uses
zh_Hansas language code of Simplified Chinese, so the output file could bezh_Hans.po. However platforms may be using codezh_CN, and when searching for language files,zh_CN.powill be missing. We have to rely on some fallback features (the library searches forzh.pothenzh_*.poinstead).I'm aware that I can edit existing language definitions or even add new languages, but are there better solutions than that?
Beta Was this translation helpful? Give feedback.
All reactions