Working on xliff files exported from Wordpress WPML (Studio 2019)

Hi,

I’ve already read through several discussions about this but they don’t seem to help me and most of them were exchanged several years ago.

One of my clients is sending me some xliff files extracted from Wordpress using WPML and they are not exploitable in Studio.

Here is what I get: one big segment, a lot of text not to be translated, etc.

Screenshot of Trados Studio interface showing a single large segment with non-translatable text in an xliff file from Wordpress.

Was there some improvement on WPML side (as they seem to claim) in the extraction of xliff files?

Is there something my client should do during the extraction to avoid this? Would he better send me another format?

Is there something I can do in order to exploit such files on Studio? (not too time-consuming, as I get hundreds of those)

Would that work better with another plugin? (I was told about Polylang).

Thanks for your advice,

Johanne



Generated Image Alt-Text
[edited by: Trados AI at 12:48 PM (GMT 0) on 29 Feb 2024]
emoji
Parents Reply
  • - How do I create a filetype?

    This is probably a good place to start:

    https://multifarious.filkin.com/2014/06/01/custom-xml/

    - Then, how do I use it with the xliff I've received from the client?

    Once you've created your filetype you use it in the same way you use any file in Studio.  It just becomes the filetype you use for these XLIFF.

    - Then, there seems to be quite a few things to correct with regex even after doing this. Is there a methodology that would have been written somewhere?

    How do you know this?  Until you either provide a file for us to show you, or create the filetype yourself, you won't know what is left and requires some other solution... unless of course you are experienced enough to be able to recognise what can be handled with the filetype and what cannot.?

    - Will all this help only for removing the non-translatable text or also for creating smaller segments?

    It will help with all of this.

    And a bonus question: if the problem is the WPML plugin, would that help if the client send me directly an xml format instead of the xliff obtained from WPML?

    You'd probably still need a custom filetype, but I imagine XML would be a lot easier to work with. Wordpress do not create XLIFF following any sort of guidelines on how it was intended to be used.  They take the easy way out and dump large chunks of content as html into single Translation Units as CDATA and completely ignore any other guidelines.  After so many years it's very disappointing that they have still not addressed this, but frankly I doubt they ever will.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children