If you want to download only source language and nothing else using Localazy CLI, you need to update two things in your configuration.
- Make sure to
includeSourceLang
is set totrue
indownload
section - Add a condition to filter all languages except the source language
The final configuration might look like the following. (Other config parts omitted for brevity)
{
...
"download": {
"includeSourceLang": true,
"files":[
{
"group": "source",
"output": "${path}/${lang}.ts",
"conditions": "equals: ${lang}, en"
}
]
}
...
}
You can then download your source language localazy download source