开发者

wordpress use gettext library for translating pages content

Im using wordpress to build a multilanguage website.I know exist many multilanguage plugins for this pur开发者_开发百科pose.But I don't want to do in this way.There's any work around? could I use gettext library instead of plugins to translate pages content?

thanks Luca


Short answer - NO

Slightly more long: gettext shows previously prepared translation (if exist) of piece of text, stored in mo-files. For user-generated content you just haven't this translation and methods of getting strings for translation

Note: all above is true, if multilanguage website for you means site with multilanguage content (and changeable from language to language), not just with different languages of interface

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜