【问题标题】:how to xgettext with all the file including subdirectories files?如何对所有文件(包括子目录文件)进行 xgettext?
【发布时间】:2013-07-28 06:31:32
【问题描述】:

如何对所有文件(包括子目录文件)进行 xgettext? 我试过了

xgettext -n *.php 

但它只在当前目录中生成 *.po 文件,没有子目录的文件。 递归执行命令所需的任何选项?

【问题讨论】:

标签: php internationalization gettext


【解决方案1】:

试试这个:

find . -name "*.php" >POTFILES
xgettext -n --files-from=POTFILES

【讨论】:

    猜你喜欢
    • 2014-12-04
    • 2023-01-04
    • 1970-01-01
    • 1970-01-01
    • 2023-04-05
    • 2018-05-02
    • 1970-01-01
    • 2011-02-21
    • 2013-08-09
    相关资源
    最近更新 更多