开发者

Do you know how to parse string which are wrapped in a keywords?

I'm trying to parse an application with Poedit. Most of my translation use a translate() method but in some views file (.phtml) I use a special keyword such as My string

Do you know could I specify to poedit ?

Thank you

Edit:

I know how to add keyword such translate, setLabel, e开发者_StackOverflow社区tc... but they are all methods. I need to add something like %s and poedit will know that the string to translate is %s which wrapped around tag element


After opening a *.po file, got Catalog > Settings > Keywords to add your keyword.

alt text http://img828.imageshack.us/img828/1479/65430288.png

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜