Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Command for creating .POT file for the Pronamic iDEAL plugin.
find . -iname "*.php" -type f | xgettext \
--from-code=UTF-8 \
--keyword=__ \
--keyword=_e \
--keyword=_n:1,2 \
--keyword=_x:1,2c \
--keyword=_ex:1,2c \
--keyword=_nx:1,2,4c \
--default-domain=pronamic_ideal \
--language=PHP \
--copyright-holder="Pronamic" \
--package-name=Pronamic \
--package-version=1.2.6 \
--msgid-bugs-address="Pronamic <>" \
--files-from=- \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.