Add localazy.json and related automations

This commit is contained in:
Michael Telatynski
2023-11-20 13:35:24 +00:00
parent f0436654c0
commit e6073ec8ef
3 changed files with 109 additions and 0 deletions

33
localazy.json Normal file
View File

@@ -0,0 +1,33 @@
{
"readKey": "a7580769542256117579-70975387172511848f4c6533943d776547bad4853931ba352ee684b738f4494e",
"upload": {
"type": "json",
"deprecate": "file",
"features": ["plural_postfix_us", "filter_untranslated"],
"files": [
{
"pattern": "public/locales/en-GB/*.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "public/locales/*/*.json",
"excludes": ["public/locales/en-GB/*.json"],
"lang": "${autodetectLang}"
}
]
},
"download": {
"files": [
{
"output": "public/locales/${langLsrDash}/${file}"
}
],
"includeSourceLang": "${includeSourceLang|false}",
"langAliases": {
"en": "en_GB"
}
}
}