简体   繁体   English

我的po2php语法有什么问题

[英]What's wrong with my po2php syntax

What's wrong with my syntax? 我的语法有什么问题?

po2php -t /var/www/pootle/fortemplating/language.php -i /var/www/pootle/env/lib/python2.7/site-packages/pootle/translations/myproject/zh_TW/lang.po -o /var/www/pootle/translated2php/zh_TW/language.php

the created language.php doesn't create the translated file but only english texts 创建的language.php不会创建翻译的文件,而只会创建英文文本

It was actually a problem with the translate kit. 实际上这是翻译套件的问题。 My template uses 我的模板使用

return array (

which is not supported and was just recently discovered. 不支持,只是最近才发现的。 Try following this thread for update https://github.com/translate/translate/issues/3283 尝试按照此线程进行更新https://github.com/translate/translate/issues/3283

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM