I am currently in the process of adding en locale to an Angular App we are using at my company. After some thinking we decided to go with the Angular 5+ native i18n support.
From how I understand it however, everytime the translation file is generated with ng xi18n --outputPath src/locale/ --locale en
a new file is created. This means, that every time a new i18n tag is added, the previous XLF file which already contains the old translations, needs to be merged with the new translations.
This seems highly bothersome, therefore my question: Is there a way such that the new trans-units are just appended to the already existing XLF file? Or is there already a tool which can merge these two together?
EDIT: xliffmerge seems to be unmaintained and incompatible with latest Angular versions (> 12). See answer by @daniel-sc for an option for latest Angular versions.