I18n: Change locale format to IETF language tag (#52596)

* I18n: Change locale format to our agreed format

* fix test

* Build lingui messages files before ci tests
This commit is contained in:
Josh Hunt
2022-07-22 15:50:00 +01:00
committed by GitHub
parent 1ee21b81d1
commit 9f81b3dcc6
9 changed files with 38 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
{
"locales": [
"en",
"fr",
"es",
"en-US",
"fr-FR",
"es-ES",
"pseudo-LOCALE"
],
"catalogs": [
@@ -20,11 +20,11 @@
}
],
"fallbackLocales": {
"pseudo-LOCALE": "en",
"default": "en"
"pseudo-LOCALE": "en-US",
"default": "en-US"
},
"pseudoLocale": "pseudo-LOCALE",
"sourceLocale": "en",
"sourceLocale": "en-US",
"format": "po",
"formatOptions": {
"lineNumbers": false