Message Id is missing in Qt ts file when I add a text via the web UI

When I add a new text with the file management, it looks normal on first sight.
image
But when I try to download the translations, via the cli or the web UI, the ts file looks like this.

<message>
    <source>TSQ0000000</source>
    <translation>BEG Test</translation>
</message>

It should look like this.

<message id="TSQ0000000">
    <source />
    <translation>BEG Test</translation>
</message>

Hello,

the main issue here is that QT TS is typically used in several different ways, sometimes using the identifier in the source, sometimes in the message.id.

We support both variants, but we need to add the option to enable it when uploading files manually.

I’m adding it to our list. Please allow a few days for the option to become available.

I investigated the issue and wasn’t able to reproduce it as there are several different situations. Please @BEG, can you send me your file to vaclav@localazy.com, so I can test it directly?

Hi @vaclav,
what file do you mean? The localazy.json or the ts file?

@BEG: You can send me both files, but the TS file is more important :-).

Hi @vaclav, we have the same problem again. Have you changed anything about it?

Hello, we haven’t changed anything in QT TS support.

Is it possible that you uploaded the files with a different configuration?

Sorry, I just re-read the title, and it only happens when you add it manually, well?

This is a bit of a problem for some of the formats. When you upload the file, we parse it and store metadata for each of the keys to understand how to rebuild the file (e.g., if there were an id attribute presented). This is not happening for manually added keys, so it resorts to the default option.

Hello, yes it only happens when I add it manually.
Can you fix this problem? We have added a script to add the keys after downloading the file, but it would be nice if localazy returns the correct file.