How i can add phing task for automated parsing my project and cresting a PO for translation?
-
12-12-2019 - |
Frage
How i can add phing task for automated parsing my project and creating a PO for translation?
Lösung
You can use xgettext to collect all gettext-translatable strings:
$ xgettext -kT_ngettext:1,2 -kT_ -L PHP -o data/locales/messages.po src/
Execute that from your phing task.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow