mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 01:46:26 +00:00
Add Thai languages (#18595)
* Add Thai languages * add language support in language dropdown --------- Co-authored-by: Ben <surask.suksathit@lotuss.com> Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
This commit is contained in:
parent
14643f2b50
commit
a3026811db
File diff suppressed because it is too large
Load Diff
@ -25,6 +25,7 @@ import prPR from '../../locale/languages/pr-pr.json';
|
|||||||
import ptBR from '../../locale/languages/pt-br.json';
|
import ptBR from '../../locale/languages/pt-br.json';
|
||||||
import ptPT from '../../locale/languages/pt-pt.json';
|
import ptPT from '../../locale/languages/pt-pt.json';
|
||||||
import ruRU from '../../locale/languages/ru-ru.json';
|
import ruRU from '../../locale/languages/ru-ru.json';
|
||||||
|
import thTH from '../../locale/languages/th-th.json';
|
||||||
import zhCN from '../../locale/languages/zh-cn.json';
|
import zhCN from '../../locale/languages/zh-cn.json';
|
||||||
|
|
||||||
export enum SupportedLocales {
|
export enum SupportedLocales {
|
||||||
@ -41,6 +42,7 @@ export enum SupportedLocales {
|
|||||||
Hebrew = 'he-HE',
|
Hebrew = 'he-HE',
|
||||||
Nederlands = 'nl-NL',
|
Nederlands = 'nl-NL',
|
||||||
Persian = 'pr-PR',
|
Persian = 'pr-PR',
|
||||||
|
Thai = 'th-TH',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const languageSelectOptions = map(SupportedLocales, (value, key) => ({
|
export const languageSelectOptions = map(SupportedLocales, (value, key) => ({
|
||||||
@ -66,6 +68,7 @@ export const getInitOptions = (): InitOptions => {
|
|||||||
'he-HE': { translation: heHE },
|
'he-HE': { translation: heHE },
|
||||||
'nl-NL': { translation: nlNL },
|
'nl-NL': { translation: nlNL },
|
||||||
'pr-PR': { translation: prPR },
|
'pr-PR': { translation: prPR },
|
||||||
|
'th-TH': { translation: thTH },
|
||||||
},
|
},
|
||||||
fallbackLng: ['en-US'],
|
fallbackLng: ['en-US'],
|
||||||
detection: {
|
detection: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user