HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

msginit — Generate language specific translation files based on Portable Object Templates. More information: <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlanguagespecificfilesclimsginittranslationgenerate

Problem

How to use the msginit command: Generate language specific translation files based on Portable Object Templates. More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msginit-Invocation>.

Solution

msginit — Generate language specific translation files based on Portable Object Templates. More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msginit-Invocation>.

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}}


Display help:
msginit {{[-h|--help]}}

Code Snippets

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}}

Display help

msginit {{[-h|--help]}}

Context

tldr-pages: common/msginit

Revisions (0)

No revisions yet.