Skip to content

Instantly share code, notes, and snippets.

@anjan-virtism
Last active April 5, 2016 04:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Extract gettext language strings from all php files inside current directory and it's sub directories
find . -name "*.php" ! -path "./tmp/*" | xargs xgettext --default-domain=myapp --output=myapp.pot --language=PHP --indent --no-wrap --sort-output --omit-header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment