Forum Discussion
RISE Texte labels import not working ?
Hi Michael!
Happy to share some insight on this!
What you've encountered is the expected behavior for XLIFF files. If a user exports a label set to XLIFF, the XLIFF file will contain several <source id="1">english string</source> entries. Only when the file is translated, do you end up with a corresponding <target id="1">translated string</target> entry. That target entry is essential for the import to work and if it is not present, the import will not succeed.
The workaround you've shared functions because it creates the target entry that would be added as part of the translation process. Please let me know if you have any more questions!
Hi Steven
Thanks for the reply. Nice to know what i found was expected behaviour.
I still find it strange however, if i translate my labels using the built in editor, and i download this label set, and reimport it, that it reverts back to default. ( Because of the missing <target> tags in the .xlf file, i would suspect that the export created these tags, but it dosen't. )
So i can't translate one probject and export this, to use in another project. But maybe i'm missing something.
Anyways, i'm happy i found a solution. :)