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
When we use paraglide-init for a list of languages to support, it will automatically regularize the string so that all letter are in lower case, for example ko-Kore becomes ko-kore and zh-HanT becomes zh-hant. However, when you add a new language from Fink settings, the regularization is not triggered (implemented), so if you input ko-Kore it will be kept as ko-Kore which makes inconsistency across inlang infrastructure.
BCP 47 and RFCs specified that letter casing of language tag must never be differentiated, albeit conventions similar to zh-Hant-TW are recommended for readability. However, for paraglide, usually the language tag will be involved as a part of a url, which are usually lower cased, so it is also understandable to normalize to lowercase.
I think we should either enforce lowercasing in Fink, or disable the enforcement in paraglide-init
The text was updated successfully, but these errors were encountered:
this is a great issue description. thank you. i'll create an issue in the inlang sdk to save incoming language tags in lower case to ensure consistency.
When we use paraglide-init for a list of languages to support, it will automatically regularize the string so that all letter are in lower case, for example
ko-Kore
becomesko-kore
andzh-HanT
becomeszh-hant
. However, when you add a new language from Fink settings, the regularization is not triggered (implemented), so if you inputko-Kore
it will be kept asko-Kore
which makes inconsistency across inlang infrastructure.BCP 47 and RFCs specified that letter casing of language tag must never be differentiated, albeit conventions similar to
zh-Hant-TW
are recommended for readability. However, for paraglide, usually the language tag will be involved as a part of a url, which are usually lower cased, so it is also understandable to normalize to lowercase.I think we should either enforce lowercasing in Fink, or disable the enforcement in paraglide-init
The text was updated successfully, but these errors were encountered: