logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xgettext - Extract Text Strings | Online Free DevTools by Hexmos

Extract text strings with xgettext for internationalization. Create translation files from source code effortlessly. Free online tool, no registration required.

xgettext

Extract gettext strings from code files. More information: https://www.gnu.org/software/gettext/manual/gettext.html#xgettext-Invocation.

  • Scan file and output strings to messages.po:

xgettext {{path/to/input_file}}

  • Use a different output filename:

xgettext {{[-o|--output]}} {{path/to/output_file}} {{path/to/input_file}}

  • Append new strings to an existing file:

xgettext {{[-j|--join-existing]}} {{[-o|--output]}} {{path/to/output_file}} {{path/to/input_file}}

  • Don’t add a header containing metadata to the output file:

xgettext --omit-header {{path/to/input_file}}

  • Display help:

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

See Also