Skip to content

fix(i18n): rename Japanese(日本語) from jp to ja#977

Open
mercury233 wants to merge 1 commit intoellite:mainfrom
mercury233:patch-4
Open

fix(i18n): rename Japanese(日本語) from jp to ja#977
mercury233 wants to merge 1 commit intoellite:mainfrom
mercury233:patch-4

Conversation

@mercury233
Copy link

This PR fixes invalid locale usage by replacing country codes with proper language codes.

Japanese must use the language code ja, not the country code jp. jp represents a country (ISO 3166), not a language. APIs such as IntlDateFormatter accept ja (or ja-JP) but not jp.

This change ensures standards-compliant locale handling and prevents localization fallbacks or errors.

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

Successfully merging this pull request may close these issues.

1 participant