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
Moreover, I believe many of the hardcoded strings in priv/iso639.json could be calculated using functions from different ex_cldr libraries. I am not 100% certain of this but I do know that with the current model where locales are reduced to ISO649 codes, I can not use Kanta to manage Brazil and Portugal variants of Portuguese.
I will branch off my existing PR to hack on this for a while.
The text was updated successfully, but these errors were encountered:
The ISO649 language codes do not account for region variants.
For example,
"pt-BR"
and"pt-PT"
(Portuguese in Brazil and Portugal) and both valid locales.Both are even recognized by the DeepL API (https://developers.deepl.com/docs/resources/supported-languages) (as
PT-BR
andPT-PT
).Moreover, I believe many of the hardcoded strings in
priv/iso639.json
could be calculated using functions from different ex_cldr libraries. I am not 100% certain of this but I do know that with the current model where locales are reduced to ISO649 codes, I can not use Kanta to manage Brazil and Portugal variants of Portuguese.I will branch off my existing PR to hack on this for a while.
The text was updated successfully, but these errors were encountered: