RSS/Atom feed Twitter
Site is read-only, email is disabled

msgmerge compendium feature

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

msgmerge compendium feature Ulf-D. Ehlert 08 Jan 21:59
  msgmerge compendium feature Daniel Nylander 09 Jan 00:35
   msgmerge compendium feature Ulf-D. Ehlert 09 Jan 18:39
Ulf-D. Ehlert
2009-01-08 21:59:43 UTC (almost 16 years ago)

msgmerge compendium feature

Hi,

I have changed the Makefile.GNU to use the compendium feature of the msgmerge program.

When updating a po file, e.g. with

make -f Makefile.GNU --assume-new=pot/foo/bar/baz.pot \ po/xx/foo/bar/baz.po

the new code will look for files named "Compendium.po" (capital "C") in po/xx/foo/bar, po/xx/foo, and /po/xx. These compendium files should contain common translations to be used as defaults.

For now the compendium files have to be maintained manually (without a common pot file). Have a look at my sample files po/de/menus/Compendium.po and po/de/menus/colors/Compendium.po.

If you have any problems, you can disable this feature with

make -f Makefile.GNU ... COMPENDIUM=""

If there are no problems, I'll change Makefile.am too.

Bye, Ulf

Daniel Nylander
2009-01-09 00:35:29 UTC (almost 16 years ago)

msgmerge compendium feature

tor 2009-01-08 klockan 21:59 +0100 skrev Ulf-D. Ehlert:

For now the compendium files have to be maintained manually (without a common pot file). Have a look at my sample files po/de/menus/Compendium.po and po/de/menus/colors/Compendium.po.

This is great!
I actually created a Compendium from all the Swedish files using the pocompendium script from Translate Toolkit, i.e.

cd po/sv pocompendium Compendium.po -d .

That will give me a Compendium.po with all unique strings (~ 10,000). This also shows that I have translated roughly 10% of all strings.

The problem I still got is that make will delete some of my PO files and replace them with new empty ones

Regards, Daniel

Ulf-D. Ehlert
2009-01-09 18:39:53 UTC (almost 16 years ago)

msgmerge compendium feature

Daniel Nylander (Freitag, 9. Januar 2009, 00:35):

The problem I still got is that make will delete some of my PO files and replace them with new empty ones

I noticed this too, but wasn't able to reproduce it.

Still don't know when or why it happens...

Ulf