Closed kisvegabor closed 5 years ago
You should use valid locale names (shorten or full), because in other case script does not know how to pick proper pluralizer & forms.
I see, thank you. Where can I find the list of "proper names"?
I'd try "locale names" in google. Don't remember "official" source.
First result, for example https://www.science.co.il/language/Locale-codes.php.
Can this be closed?
I could try more strict checks and show more descriptive error for unknown locales. In theory, custom locales are used sometime for specific slang translations. But IMO that's not needed in real world for embedded. And that's certainly should not be used as main approach.
I found it important to simply enumerate the language on their own language (e.g. "Magyar" instead of "Hungarian" or "hu"). Now I've created an array to map hu
->Magyar
, en-GB
->English
. It works this way, so this issue can be closed.
Hi,
I've created two languages in two yaml file:
I've used the long names because this way I can easily see all the existing languages and create a list from them.
I've tried to compile with
-l 'English'
option but got this error:I've attached two files to reproduce: lv_i18n_test.zip