New version 1.7.5 brings a new variable available in the download/conversion section ${sourceLang}
that contains a source language of the project in ${lang}
-compatible format.
It allows for writing universal download rules, e.g., for Android:
"download": {
"includeSourceLang": "true",
"files": [
{
"output": "app/src/main/res/values/strings.xml",
"conditions": "equals: ${lang}, ${sourceLang}",
"stop": true
},
{
"output": "app/src/main/res/values-${langAndroidRes}/strings.xml",
"conditions": "!equals: ${lang}, ${sourceLang}",
"stop": true
}
]
}