Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a Standard for Locale Names #208

Closed
owenthewizard opened this issue Dec 15, 2024 · 2 comments
Closed

Consider a Standard for Locale Names #208

owenthewizard opened this issue Dec 15, 2024 · 2 comments

Comments

@owenthewizard
Copy link

zh-CH and zh-TW stood out to me because I've usually seen them notated as zh-Hans (Simplified), zh-Hant (Traditional), and zh-Yue (Yue Chinese and Cantonese are often used interchangeably even though they're technically not the same). Some other examples:

  • fr-FR (Parisian) / fr-CA (Canadian),
  • es-ES (Castilian), / es-419 (Latin American),
  • pt-PT (Iberian) / pt-BR (Brazilian)

Obviously it's not that big of a deal for this purpose, but it gave my brain a tickle.

Could use BCP47 or one of the ISO standards.

@cksac
Copy link
Owner

cksac commented Dec 15, 2024

I believe currently is following RFC 5646? https://gist.github.com/msikma/8912e62ed866778ff8cd

@owenthewizard
Copy link
Author

I believe currently is following RFC 5646? https://gist.github.com/msikma/8912e62ed866778ff8cd

Thanks, didn't realize that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants