Last active
April 5, 2016 04:50
-
-
Save anjan-virtism/f9121542717f53b3bbb6043c31783aa2 to your computer and use it in GitHub Desktop.
Extract gettext language strings from all php files inside current directory and it's sub directories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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