Created
April 14, 2018 08:08
-
-
Save grzegorz-rozycki/873c2093afa265f03a13a59fb8d12b85 to your computer and use it in GitHub Desktop.
Collects translations from wordpress plugin / theme
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
#!/bin/bash | |
# NOTICE it only collects translations made by __() function | |
find ./ -iname '*.php' | xargs xgettext --keyword=__ --language=PHP --add-comments --sort-output -o languages/gr-sms.pot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment