我已经安装了po2json,使用的命令是
npm install po2json
我遇到了以下错误:
C:\windows\system32>po2json --errorlevel traceback fr.po fr.json
processing 1 files...
po2json: warning: Couldn't handle input file fr.po: Traceback (most recent call
last):
File "translate\misc\optrecurse.pyc", line 513, in recursiveprocess
File "translate\misc\optrecurse.pyc", line 417, in getoutputoptions
ValueError: don't know what to do with input format .po, no template file
我的fr.po文件在哪里
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-03-23 22:15+0530\n"
"PO-Revision-Date: 2015-03-23 22:21+0530\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: \n"
"Language-Team: \n"
"X-Generator: Poedit 1.7.4\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: fr\n"
\#: text.js:794
msgid "Search Files"
msgstr "Search Files FRENCH"