views:

188

answers:

1

We have two .po files, each from different branches of a piece of software.

We need to combine these into a single .po file.

There are duplicates between the two files, and the ideal handling would be for one file's strings to be favoured (consistently).

We have a SUSE system so the --output-file doesn't seem to have the behaviour of ignoring/merging duplicates which the Sun version has according to a man page I found from a web search. (We do not have a Sun machine handy!)

+2  A: 

What are you looking for is msgcat util, this one does concatenates and merges the specified PO dictionaries.

This is part of gettext utils, for more information please consult gettext manual.

Sorin Sbarnea