We're planning to use Xliff as a common format for our cross-platform application (PHP in the backend, Android on mobile). These Xliff files would not have any "real" source file from which the strings would be extracted, but would rather be hand-crafted as the development goes.
Naturally Xliff needs to be converted / read by the target platform. For Android I imagined it would be the best to convert the source Xliff files to Android String resources files and for PHP I'd have done the same, i.e. the target output would be raw PHP arrays, or use something like Zend_Translate_Xliff.
Now two things are still unresolved:
Are there any existing tools that merge an existing Xliff file into another Xliff file, similar to what
msgmerge
does for gettext? The rationale here is that if we have X translations and a new string is added to the source language, we don't want to update X target translation file with that new string.Are there existing converters / XSLT scripts (automatable at best, for CI) that already translate from Xliff to Android XML?
Thanks in advance.