2025-03-19 19:23:44 -06:00
|
|
|
# msginit
|
|
|
|
|
|
|
|
|
|
> Generate language specific translation files based on Portable Object Templates.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msginit-Invocation>.
|
2025-03-19 19:23:44 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|
2025-04-03 20:36:56 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`msginit {{[-h|--help]}}`
|