How to set msgid as key and msgstr as source string in the .po file in Crowdin?

Hi folks!

We use .po files and in our case the source strings are placed in msgstr files while msgid has only the key and they should be translated. But when we imported the file in Crowdin it is shown vice versa and keys are imported as source strings for translation.

May we change its behavior somehow? Thanks

1 Like

Hi Edvard!

We’d kindly recommend adding the “X-Crowdin-SourceKey: msgstr\n” attribute in such case to the header of .po file, here’s the article on the matter:

It should work like a charm :slight_smile:

1 Like