Can't delete or reset a translation string using "crowdin upload translations"
Describe the bug
For instance, I have a translations.json file which is translated in English and French with:
// en
{
"greeting": "Hello"
}
// fr
{
"greeting": "Bonjour"
}
Update
if i update the french version with:
{
"greeting": "Salut"
}
and then run the command crowdin upload translations ---> It works. The translation is updated in crowdin.
Delete
if i would like to "delete" or "reset" the translation, I should be able to update it with:
// Replacing by an empty string:
{
"greeting": ""
}
// or maybe by removing the key:
{
}
and then run the command crowdin upload translations ---> Its not updated even though the cli said it has been uploaded.
Expected behavior
Changing a translation string to "" (or deleting the json key) should remove the translation.
Environment
- OS: macOS Monterey
- Version 12.3.1
- Crowdin version: 3.7.9
Hello, It is expected behavior from our side. You can only upload new values as translations via CLI or update existing ones (the same will be via API or via similar actions in UI). Deleting existing translations is only possible from the UI.