Next: , Previous: , Up: GNUN Scripts   [Contents][Index]


6.2.3 The gnun-init-po Script

This script initializes a PO file using the POT generated with GNUN, and fills some fields in the header. It also optionally uses a compendium (or compendia) to fill translations.

gnun-init-po [OPTION...] POT
-C
--compendium=comp

Specify a compendium to use. You can issue this option many times to use multiple compendia simultaneously. The suffix of compendium is used when the language suffix is not specified with the --language option.

-d
--disable-diffs

Don’t add diffs to “previous” messages.

-g
--team="team <list>"

Specify team’s name and mailing list.

-l
--language=lang

Specify language suffix, e.g “bg”. The suffix also defines the name of the language which is used in some fields of PO file header.

-t
--translator="full name <email>"

Specify translator.

-v
--version

Display copyright and version information and exit.

-h
--help

Display usage information and exit.

The PO file name is guessed from the name of POT and language suffix; the file is created in the current working directory.