1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gettext.md

13 lines
325 B
Markdown
Raw Normal View History

# gettext
> Get string translations.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/gettext-Invocation.html>.
- Get the translation of a string or output a default string if it doesn't exist:
`LANGUAGE={{locale}} gettext {{msgid}} {{default_value}}`
2025-03-26 00:36:41 +02:00
- Display help:
`gettext {{[-h|--help]}}`