Setup multi languages wordpress

风格不统一 提交于 2020-01-10 03:14:09

问题


I need to setup a blog using wordpress engine but i need it support multi languages (3 languages), currently i am thinking of using custom field to identify the language of current post though i knew thats not a best practices, does anyone has better suggestions?


回答1:


I've tested 2 plugins that both looked very promising: qTranslate and Gengo

qTranslate works by adding inputs for all used languages for each post, Gengo used separate posts and links them in a "post Y is a translation of post X" way, which I preferred much (because it allowed me to not translate everything) and it worked fine for me.




回答2:


I have used the xlanguage plugin and I am happy with it. xlanguage site




回答3:


I fi i remember well, wordpress uses a gettext "customization" library to translate itself. I think you can make some options based on a session variable, about the translation files you're going to read.




回答4:


Try using plugin wordpress WPML.



来源:https://stackoverflow.com/questions/172138/setup-multi-languages-wordpress

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!