Re: Using a compendium with gettext



danilo gnome org (Danilo Šegan) writes:

> msgmerge has the -C option.  One can probably play smart and create
> separate PO files (one gotten from compendium, another with usual
> msgmerge), then use msgattrib to set all in compendium-one as fuzzy
> (and remove all the rest), and then merge again with this one and
> regularly merged one.

Ah, that's what I figured out too. I knew about the -C option but it
took some time to realise that msgattrib might help.

I just tested it, it seems to work. Nice.

> Does anyone actually want me to add such support to damned-lies? ;)
> File a bug, and start preparing compendiums :)

I personally just get the files directly from SVN, so it wouldn't help
me. But it would be cool if msgmerge supported it directly so that I
wouldn't have to use msgattrib on the compendium. Do you know who I
can contact to suggest this?

Another thing we perhaps could use the compendium for is checking
consistency, that the same string is translated in the same manner,
but it's not clear exactly how. And of course, because of context,
sometimes variations are desirable.

-- 
Ole Laursen
http://people.iola.dk/olau/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]