[systemd-devel] Journal Message Catalog

Keith Robertson kroberts at redhat.com
Thu Feb 14 12:21:25 PST 2013


On 02/14/2013 03:14 PM, Lennart Poettering wrote:
> Note that you may have multiple catalog files and you can distribute the
> translations among multiple files. This leaves full flexibility to the
> projects which want to provide message catalog entries. For example,
> they could create individual files:
>
> /usr/lib/systemd/catalog/foobar.catalog
> /usr/lib/systemd/catalog/foobar-de_DE.catalog
> /usr/lib/systemd/catalog/foobar-fr_FR.catalog
If a project follows the pattern described in [1] do they still need to 
suffix every message ID therein with '-de_DE' or, can systemd discover 
the locale from the catalog name (ie. foobar-de_DE.catalog)?

Cheers

[1] /usr/lib/systemd/catalog/foobar-de_DE.catalog


More information about the systemd-devel mailing list