What ISO standard for language codes does react-i18next / i18n follow?
I've been searching around and my best guess is ISO 3166-1, but I can't find any concrete documentation.
Can anyone answer this?
I don't think there is a standard for language codes in react-i18next. I have seen people using 'arab'
or 'dev'
( like in this documentation ) as language codes. But yeah, there is probably no official documentation about this.
Best seems to be if using the iana language tags format:
https://www.i18next.com/how-to/faq#how-should-the-language-codes-be-formatted
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.