fix: Add some more regional language variants to langmap

This commit is contained in:
Essem 2024-02-03 16:46:50 -06:00
parent 8a416cd302
commit 212aaab5b7
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 18 additions and 0 deletions

View file

@ -376,6 +376,15 @@ export const iso639Langs3 = {
export const langmapNoRegion = Object.assign({}, iso639Langs1, iso639Langs3);
export const iso639Regional = {
'en-GB': {
nativeName: 'English (UK)',
},
'fr-CA': {
nativeName: 'Français (Canada)',
},
'pt-BR': {
nativeName: 'Português (Brasil)',
},
'zh-Hans': {
nativeName: '中文(简体)',
},

View file

@ -376,6 +376,15 @@ export const iso639Langs3 = {
export const langmapNoRegion = Object.assign({}, iso639Langs1, iso639Langs3);
export const iso639Regional = {
'en-GB': {
nativeName: 'English (UK)',
},
'fr-CA': {
nativeName: 'Français (Canada)',
},
'pt-BR': {
nativeName: 'Português (Brasil)',
},
'zh-Hans': {
nativeName: '中文(简体)',
},