Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロジェクトを自動解析して翻訳用のPOを作成するためのphingタスクを追加するにはどうすればよいですか?
xgettextを使用して、すべてのgettext-translatable文字列を収集できます。
http://sourceforge.net/p/semanticscuttle/code/ci/cb4b0469ca48d9865c8b162c1446d9011adf249b/tree/scripts/update-translation-base.php#l11
$ xgettext -kT_ngettext:1,2 -kT_ -L PHP -o data/locales/messages.po src/
phingタスクからそれを実行します。