feat(lang): add support for Portuguese (Portugal) language

pull/722/head
sct 4 years ago
parent 083a74a686
commit e044146aa5

@ -57,6 +57,10 @@ const availableLanguages: AvailableLanguageObject = {
code: 'pt-BR',
display: 'Portuguese (Brazil)',
},
'pt-PT': {
code: 'pt-PT',
display: 'Portuguese (Portugal)',
},
sr: {
code: 'sr',
display: 'Serbian',

@ -11,6 +11,7 @@ export type AvailableLocales =
| 'es'
| 'it'
| 'pt-BR'
| 'pt-PT'
| 'sr'
| 'sv'
| 'zh-Hant';

@ -38,6 +38,8 @@ const loadLocaleData = (locale: AvailableLocales): Promise<any> => {
return import('../i18n/locale/it.json');
case 'pt-BR':
return import('../i18n/locale/pt_BR.json');
case 'pt-PT':
return import('../i18n/locale/pt_PT.json');
case 'sr':
return import('../i18n/locale/sr.json');
case 'sv':

Loading…
Cancel
Save