Apex: XLIFF Translator, generate the translated file.
The final step in our translation process is exporting the translated data back to an xml-file; i.e. the reverse process of step 1 where we translated an xml-structured file to a relational table-structure.
This time, the relational data has to be converted back to the original xml-structure (similar to the one of the imported XLIFF-file).
We need to recompose the following structure:
By using the standard SQL/XML functions available in Oracle XML DB, it is quite easy to realise this.
Don’t get frightened by the syntax. At first sight, it seems rather complex with all those nestings, brackets, …. But after a while, you’ll notice (that) it can be extremely powerful. Documentation on the syntax, can be found here.
We embedded the above query in a PL/SQL package which we use in the following Apex page:
So, now it is up to you. We made the tool available on the following URL. You first have to register (which only takes about 30 seconds) and then you can give it a try.
Any suggestions are welcome!