Forums / Developer / How to merge two separated translation files ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to merge two separated translation files ?

Author Message

Ze IceCube

Friday 29 May 2009 3:00:29 am

Hi,

I'll try to explain my problem :

I have to merge on the fly two separated translation files.

The first one is a common file, the second one is unique for each separated site.

Some translations from common file may have been rewriten in the site file.

I thought transform each ts file in simplexml, then merge them, then write a new ts file.
Is this a good idea or does it exists a better way ?

Thanks for your help

PS : sorry for my bad english (French speaker)