New locale for Bahasa Indonesia support (#3255)
### What problem does this PR solve? Add native translation in locales for Bahasa Indonesia to support new local language ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -3,13 +3,14 @@ import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import translation_en from './en';
|
||||
import translation_id from './id';
|
||||
import translation_zh from './zh';
|
||||
import translation_zh_traditional from './zh-traditional';
|
||||
|
||||
const resources = {
|
||||
en: translation_en,
|
||||
zh: translation_zh,
|
||||
'zh-TRADITIONAL': translation_zh_traditional,
|
||||
id: translation_id,
|
||||
};
|
||||
|
||||
i18n
|
||||
@@ -19,7 +20,7 @@ i18n
|
||||
detection: {
|
||||
lookupLocalStorage: 'lng',
|
||||
},
|
||||
supportedLngs: ['en', 'zh', 'zh-TRADITIONAL'],
|
||||
supportedLngs: ['en', 'zh', 'zh-TRADITIONAL', 'id'],
|
||||
resources,
|
||||
fallbackLng: 'en',
|
||||
interpolation: {
|
||||
|
||||
1011
web/src/locales/id.ts
Normal file
1011
web/src/locales/id.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user