duanmaifu3428 2014-02-12 23:40
浏览 65
已采纳

用于PHP Gettext字符串的字符串处理软件

Currently I'm in a major project which has several thousands of PHP gettext like translations

_("blabla I'm an English source file")

These lines will be translated with PO Files generated by PO Edit. However, we have an english gammer nazi which is going to check all of our grammar and correct spelling mistakes. However the grammer nazi is not really into coding and it would be nice to have a large list with all the __("blabla") strings.

So basically I'm looking for a tool which can read all my PHP Files (much like PO edit) and make it a readable list that can be edited and saved (back to the PHP files).

Is there such a tool? Or am I doomed and do I create it myself?

I prefer OSX since were all using it here, but something windowsish would be fine.

  • 写回答

2条回答 默认 最新

  • ds0678 2014-02-13 08:03
    关注

    I would just use English like you use your other translations and create a po file for it. This way your English grammer person can also change whole sentences now and later without actually affecting the code. And you can at some point add different english versions (e.g. en-US, en-GB).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥15 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化