Hi,
The previous version of the project had translations with wildcard
"translation" : "/old/project/dir/translation/%locale%.xlf"
The translation file location and filename are changed in the new project version to
"translation" : "/translations/messages.%locale%.xlf",
I tried the configuration below to keep all translation files and names on Crowdin like the previous version had:
"translation" : "/translations/messages.%locale%.xlf",
"translation_replace" : {
"messages.": ""
},
"dest" : "/old/project/dir/translation/%file_name%.xlf",
But I got an error when I tried to upload translations:
'translations/ro-RO.xlf' translation file doesn't exist in the specified place
It looks like, the crowdin cli does replace before uploading the file. Of course, the file after replacing in filename doesn’t exist.
I would appreciate it if someone explained to me how translation_replace works and help with my case.
Thank you.