如何安装和使用po2json
How to install and use po2json
我想将一些 wordpress .po
语言文件转换为 .json
格式并使用 wp-cli 但 PO 文件转换为 json 的多个文件,但我需要一个 json 文件.
所以安装了 po2json 使用:
npm install po2json
我收到这个错误:
C:\Users\Mehdi\Desktop\po2json 1.0.0>po2json translation.po translation.json
'po2json' is not recognized as an internal or external command,
operable program or batch file.
谁能帮我轻松使用po2json?
我尝试安装 https://openbase.com/js/@myrotvorets/po2json 使用:
npm i @myrotvorets/po2json
最后我得到了以下代码的输出:
po2json sourcefile.po > destfile.json
我想将一些 wordpress .po
语言文件转换为 .json
格式并使用 wp-cli 但 PO 文件转换为 json 的多个文件,但我需要一个 json 文件.
所以安装了 po2json 使用:
npm install po2json
我收到这个错误:
C:\Users\Mehdi\Desktop\po2json 1.0.0>po2json translation.po translation.json
'po2json' is not recognized as an internal or external command,
operable program or batch file.
谁能帮我轻松使用po2json?
我尝试安装 https://openbase.com/js/@myrotvorets/po2json 使用:
npm i @myrotvorets/po2json
最后我得到了以下代码的输出:
po2json sourcefile.po > destfile.json