Skip to content

Instantly share code, notes, and snippets.

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