Created
May 20, 2016 12:07
-
-
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
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 . -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