Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tameroski/11cdd2a1fe8a5ce555c8351290e9b44e to your computer and use it in GitHub Desktop.
Save tameroski/11cdd2a1fe8a5ce555c8351290e9b44e to your computer and use it in GitHub Desktop.
Using gettext to generate a pot file from all php files in a directory
find . -iname "*.php" | xargs xgettext --from-code=UTF-8 -k_e -k_x -k__ -o languages/default.pot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment