doumianfeng5065 2014-02-15 20:23 采纳率: 0%
浏览 26
已采纳

多语言WordPress网站提供2个安装建议

I have a potential client who wants a HTML website migrated to WordPress, the current website is 100 pages; 50 English and 50 French of the same content. There are several reasons for moving to WordPress, and having an English and French version of the same site instead of just a translator plugin. So enough back story, my real questions is...

How do I deal with running 2 Wordpress websites (one English the other French) when a visitor wants to change a specific page from English to French for example? and avoid going back to the home page when requesting to change language?

If a visitor is viewing a specific page in English but wants to view it in French, I do not want the Language selection button to take them to the home page really. How can I do this in WordPress; with 2 separate installs so when you click the language button the page just changes to the requested language?

I hope someone can help me, Thank you.

Luke

  • 写回答

2条回答 默认 最新

  • doudi8525 2014-02-16 07:45
    关注

    No need to make 2 separate websites . Just use qTranslate.

    It is hands down the best solution for multilingual wordpress installation, and I myself have used it with over 100 multilingual sites

    The management and maintenance would be much easier , you will have a control over all aspects of the multilingual behavior and you could SHARE resources ( like scripts, images , themes etc ) .

    With this plugin you can choose if you want to have a URL like :

    • http://www.mysite.com/fr and http://www.mysite.com/en
    • http://fr.mysite.com and http://en.mysite.com
    • http://www.mysite.com/?lang=fr and http://www.mysite.com/?lang=en

    All your users will see is a small flags based or menu based language switcher .

    The Admin screens easily share languages , switching, and content handling . Even switching the admin area language itself is a breeze .

    You even have control over local SEO.

    Every aspect from title to media to custom fields is also supported . Basically you have duplicate fields for title content etc . The best way to understand is just install one time and start to use .

    you will get the idea in a second .

    It has a very extensive hooks base and custom functions that allow you to easily do virtually everything !

    Example of a working ( old ) wp install with qTranslate supporting 5 languages can be found here

    P.s.

    I am in no way affiliated with the author of this totally free plugin - But I do admire the work he has made and the techniques used in his code . If you end up using it - a small token of appreciation for the author would surely be appreciated by him .

    Edit I after comment.

    Grammar or the correctness of the translation is irrelevant .

    qtranslate is not an automated translation service / plugin

    It does not really translate your site , but gives you the tools to do so in terms of UI, accessibility, functions and hooks.

    The actual content is translated by YOU. No automatic content generation ( unless you specifically want one )

    It actually does create 2 different websites ( in a sense ) but using the same install, core files, resources etc ..

    Until you will not try and use it , you will not fully understand how it works.

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

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP