Skip to content

Commit

Permalink
Update the LANGUAGES_TO_LOCALES map with the new language/locale pa…
Browse files Browse the repository at this point in the history
…irs.

Rose provided these new pairs directly from Knowledge Graph.

TEST=manual

I ran `build-locales` and saw assets generated for the new pairs and languages.
  • Loading branch information
tmeyer2115 committed Aug 17, 2021
1 parent e7eb7a9 commit a4ccaee
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions conf/i18n/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,47 @@ const LANGUAGES_TO_LOCALES = {
],
ja: [
'ja_JP'
],
ar: [
'ar_AE',
'ar_BH',
'ar_DZ',
'ar_IQ',
'ar_KW',
'ar_LY',
'ar_OM',
'ar_PS',
'ar_QA',
'ar_SA'
],
hi: [],
ko: [],
nl: [
'nl_BE',
'nl_NL',
'nl_SX'
],
pl: [],
pt: [
'pt_BR',
'pt_CV',
'pt_PT'
],
ru: [
'ru_UA'
],
sv: [
'sv_SE'
],
'zh-CN': [
'zh-CN_CN',
'zh_CN_HK',
'zh_CN_SG'
],
'zh-TW': [
'zh-TW_HK',
'zh-TW_MO',
'zh-TW_TW'
]
};
exports.LANGUAGES_TO_LOCALES = LANGUAGES_TO_LOCALES;
Expand Down

0 comments on commit a4ccaee

Please sign in to comment.