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
Managor e364b551d6
gettext, msginit, msgmerge: add page; msgfmt, xgettext: edit page (#15912)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-03-11 06:50:50 +02:00

281 B

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