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.
如何对所有文件(包括子目录文件)进行 xgettext?我尝试过了
xgettext -n *.php
但它只在当前目录中生成 *.po 文件,没有子目录的文件。递归执行命令所需的任何选项?
尝试这个:
find . -name "*.php" >POTFILES xgettext -n --files-from=POTFILES