msginit Command Examples
Generate language specific translation files based on Portable Object Templates. More information: https://www.gnu.org/software/gettext/manual/html_node/msginit-Invocation.html.
- Generate Portable Object files in system locale from
messages.pot
:
msginit
- Define locale to generate from a specific template:
msginit {{[-l|--locale]}} {{locale}} {{[-i|--input]}} {{path/to/messages.pot}}