Skip to content

Commit

Permalink
Merge pull request #93 from Zextras/language-list-update
Browse files Browse the repository at this point in the history
feat: enable vietname language support
  • Loading branch information
giuliano176 authored Jun 14, 2022
2 parents 2e98727 + f3f4845 commit 7aa4643
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions src/settings/components/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ export const localeList = (
localName: t('locale.french', 'French'),
label: t('locale.label_french', { value: 'français', defaultValue: 'French - {{value}}' }),
value: 'fr'
},
{
id: 'vi',
name: 'Tiếng Việt',
localName: t('locale.vietnamese', 'Vietnamese'),
label: 'Vietnamese - Tiếng Việt',
value: 'vi'
}
];
// TODO: For future languages
Expand Down Expand Up @@ -459,13 +466,7 @@ export const localeList = (
// label: 'Ukrainian - українська',
// value: 'uk'
// },
// {
// id: 'vi',
// name: 'Tiếng Việt',
// localName: t('locale.vietnamese', 'Vietnamese'),
// label: 'Vietnamese - Tiếng Việt',
// value: 'vi'
// }

// ];

export const timeZoneList = (
Expand Down
3 changes: 2 additions & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
"russian": "Russian",
"spanish": "Spanish",
"thai": "Thai",
"turkish": "Turkish"
"turkish": "Turkish",
"vietnamese": "Vietnamese"
},
"message": {
"reload": "\tWould you like to reload the application now to show the new language?\n(Otherwise, the new language will appear the next time you sign in.)",
Expand Down

0 comments on commit 7aa4643

Please sign in to comment.