Setup multi languages wordpress

2019-01-25 22:18发布

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?

4条回答
SAY GOODBYE
2楼-- · 2019-01-25 22:19

Try using plugin wordpress WPML.

查看更多
看我几分像从前
3楼-- · 2019-01-25 22:23

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.

查看更多
Explosion°爆炸
4楼-- · 2019-01-25 22:26

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.

查看更多
姐就是有狂的资本
5楼-- · 2019-01-25 22:31

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

查看更多
登录 后发表回答