WordPress WPML - tables

Hi all

I have set up a filetype for WPML using the xml parser with HTML5 embedded content.

However, in the xliff that WPML creates there are tables included for wich I have not been able to filter out the translatable content...

Here is how it looks:

Screenshot of Trados Studio XML parser settings showing HTML5 embedded content with tables not filtered for translatable content.

Close-up of Trados Studio interface displaying unfiltered tables within WPML created xliff file, indicating a need for filetype improvement.

Does anyone have an idea how to improve the filetype?

Cheers,

Andreas



Generated Image Alt-Text
[edited by: Trados AI at 1:53 PM (GMT 0) on 28 Feb 2024]
emoji
Parents
  • WPML is crap, unfortunately.
    The embedded content via HTML won't work here, you must go for all manually defined embedded content to be able to hide both "usual" tags within <> and also the "unusual" tags within []. I have developed something similar some time ago with a lot of work and time, as in my case some [] expressions contained translatable text within [], some other didn't, so I could not simply parse all [].

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • Thanks for your quick reply.
    I have tried to use the text parser for embedded content and I tried to use the txt filetype but in neither was I able to figure out a regex that would actually match everything around the translatable content.
    Also, I suspect that depending on the table specs there can always be some elements that I might not catch/have caught.
    So yes, my question is answered as I expected that ... :-(
    Notwithstanding, I'll keep this open to see if anyone might have a different approach worth pursuing.
    Otherwise we will have to instruct the translators to be careful with the code...
Reply Children