Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

intltool-update(8) [centos man page]

INTLTOOL-UPDATE(8)					      System Manager's Manual						INTLTOOL-UPDATE(8)

NAME
intltool-update - updates PO template file and merge translations with it SYNOPSIS
intltool-update [option]... intltool-update LANGCODE DESCRIPTION
intltool-update generates new po file templates from source code, and merges existing translations with these new po templates. You must change working directory to the subdirectory containing translations (usually "po/") before running intltool-update. OPTIONS
When executing intltool-update , only one mode of operation is allowed each time. Mode of operation -p --pot Generate po template (.pot) only. -s --headers Executes intltool-extract(8) to extract strings inside XML/INI style files listed in POTFILES.in, and writes the extracted strings into header files, so that the strings can be recognised by xgettext(1). -m --maintain Search for left out files, which should have been listed in POTFILES.in or POTFILES.skip. A list of all these files are written into another file called "missing". -r --report Display a status report for all translations in the software. -d LANGCODE --dist LANGCODE Merge LANGCODE.po with existing PO template. Other options -g NAME --gettext-package=NAME Manually specify PO template file name, instead of determining the name automatically from source. Useful with -p/--pot option. This option has an additional effect: the name of current working directory is no more limited to "po" or "po-*". -o FILENAME --output-file=FILENAME Manually specify output FILENAME after merging old translation with PO template. Useful either with -d/--dist option or without any option. -x --verbose Display lots of feedback. --version Show version information. --help Show usage and basic help information. EXAMPLES
Creates a new PO template from source code, and name it foo.pot: intltool-update --pot --gettext-package=foo Updates translation file xy.po using existing po template called "bar.pot", and writes output into "xy1.po": intltool-update --dist --gettext-package=bar --output-file=xy1.po xy Creates new PO template and updates translation file xy.po (xy.po is overwritten with new content): intltool-update xy (same as intltool-update --pot && intltool-update --dist xy) FILES
po/POTFILES.in Contains list of source files which contain translatable strings, one file per line. po/POTFILES.skip po/POTFILES.ignore (obsolete) Contains list of source files which should be ignored when searching for translatable strings. REPORTING BUGS
Report bugs to http://bugs.launchpad.net/intltool AUTHOR
Darin Adler <darin@bentspoon.com> Kenneth Christiansen <kenneth@gnu.org> Maciej Stachowiak <mjs@eazel.com> SEE ALSO
intltoolize(8), intltool-prepare(8), intltool-extract(8), intltool-merge(8), xgettext(1) intltool 2003-08-02 INTLTOOL-UPDATE(8)

Check Out this Related Man Page

intltool-update(1)						   User Commands						intltool-update(1)

NAME
intltool-update - update .po file with marked translatable strings from the application source code SYNOPSIS
intltool-update [--headers] [--help] [--maintain] [--pot] [--report] [--verbose] [--version] language-code DESCRIPTION
The intltool-update, intltoolize, intltool-extract, and intltool-unicodify utilities identify localizable content in application source code, and extract this content into translatable .po message catalog files. intltool-update updates the message catalog files with the translatable content from the application source code. OPTIONS
The following options are supported: --headers Generate the header files in the POTFILES.in file. You can also use -s to specify this option. --help Show usage and basic help information. --maintain Search for files that have been omitted from the POTFILES.in file. You can also use -m to specify this option. --pot Generate the PO template only. You can also use -p to specify this option. --report Display a status report for the module. You can also use -r to specify this option. --verbose Provide additional feedback. You can also use -x to specify this option. --version Show version information. OPERANDS
The following operands are supported: language-code Specifies the language code of the file that you wish to update with new translatable content. EXAMPLES
Example 1: Updating a Message Catalog .pot File With All Marked Translatable Content example% intltool-update --pot Example 2: Updating a Message Catalog .po File for the French Language Based on the Current Contents of the .pot File example% intltool-update fr EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/intltool-updateThe command-line executable for the application. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-common-devel | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
intltool-extract(1), intltool-merge(1), intltool-prepare(1), intltool-unicodify(1), intltoolize(1) NOTES
For more information, see the I18N-HOWTO file, which is provided with the intltool source code. Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin Adler, Kenneth Christiansen, Maciej Stachowiak. SunOS 5.10 3 Apr 2003 intltool-update(1)
Man Page