🌐: Japanese translation (#895)

This commit is contained in:
forestsource 2023-09-10 15:51:46 +09:00 committed by GitHub
parent a22b59f109
commit c18e122d1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 260 additions and 0 deletions

View file

@ -7,6 +7,7 @@ import Portuguese from './languages/Br';
import Spanish from './languages/Es';
import French from './languages/Fr';
import Russian from './languages/Ru';
import Japanese from './languages/Jp';
// === import additional language files here === //
// New method on String allow using "{\d}" placeholder for
@ -55,6 +56,9 @@ export const getTranslations = (langCode: string) => {
if (langCode === 'ru') {
return Russian;
}
if (langCode === 'jp') {
return Japanese;
}
// === add conditionals here for additional languages here === //
return English; // default to English