简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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