Can't escape new lines in qt ts format

Hello,

I’m running into the problem that the “\n” escaped newline gets replaced by a real line break on uploading translations to Localazy and I can’t find a way to have them be converted back to escaped when downloading.
I tried the “escape_new_lines” upload feature option aswell as converting on download like mentioned in another forum post here and here
Both ways seem to be supported only for the android xml format, however I’m working with qt-ts files.
Is there another way I am missing or do I need a different workaround for qt-ts entirely?

Greetings,
Basile

Hello,

it’s currently not supported for QT-TS, but we will add it soon and I will inform you once added.

Hi Basile,

It seems like you’re hitting a limitation with Localazy’s newline handling for Qt-TS files, as the “escape_new_lines” feature is indeed only available for Android XML formats. Unfortunately, Qt-TS files may not have the same built-in support for automatic escaping and unescaping of newlines during upload/download. A possible workaround is to manually escape the newlines before uploading by replacing with a unique placeholder string , then post-process the downloaded translations by replacing those placeholders back to . Another option might be to check if Localazy offers any additional API or custom processing rules for Qt-TS files to handle this more efficiently.

Hope this helps, and good luck with your translation process!