Localazy CLI provides several methods for importing existing translations:
Basic configuration can look like this:
{
"upload": {
"files": [
{
"pattern": "src/locales/en/*.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "src/locales/*/*.json",
"excludes": ["src/locales/en/*.json"],
"lang": "${autodetectLang}"
}
]
}
}
This setup lets you run localazy upload
for regular source updates and localazy upload existing
for one-time import of existing translations.
Please help us with improving our documentation.
We appreciate all your feedback.