-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add Japanese translation #80
Comments
Look here:
This map is what will be shown in the language selector option. Thank you for the Japanese translation! |
Ah I just checked, Intl.DisplayNames is used by default to translate the name of the language to the default locale of the device, and for unsupported browsers it defaults to the language map |
Ok so, apparently the Japanese locale is const name = new Intl.DisplayNames("ja", { type: 'language' });
console.log(name.of('ja')); Shows the correct result. You just need to change the locale name from "jp" to "ja" and it should work |
@suzuuuuu09 Oh, you're doing it too fast! ああ、あなたのするスピードは速すぎます! |
I am working on the translation into Japanese.
Along with that, I have created more accurate
README-JP.md
andjp.json
, editedLanguageSelector.tsx
,i18n.ts
andi18nCache.ts
and finished all work.However, as shown in the picture above, the place where it should be displayed as
Japanese
is displayed asJp
.How can I display
Japanese
?The text was updated successfully, but these errors were encountered: