WordPress.org

Forums

Polylang
Multisite (11 posts)

  1. Gustavius
    Member
    Posted 2 years ago #

    Hi

    I'm setting up 3 language sites with different content through multi-site. Basically I need to be able to select a language and it should take me (or the user) to a specific sub-site or sub-domain (not sure what to call it).

    Dunno if my wording is correct but just to illustrate what I mean:

    WP multi-site
           choose your language
          /         |         \
         /          |          \
    Afrikaans    English      German
    sub-site A   sub-site B   sub-site C
    content A    Content B    Content C

    and of course someone from English should be able to link to Afrikaans vica versa etc.

    Great Plug-in by the way. I had a LOT less hassle with this than many of the others!

    http://wordpress.org/extend/plugins/polylang/

  2. Gustavius
    Member
    Posted 2 years ago #

    Apologies. My ASCII illustration got totally messed up there.

  3. I've edited your post with the code button, that put back the spaces so it displays better.

    ASCII illustrations don't really work otherwise. ;)

  4. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Currently, if you choose not to hide the URL language information for default language and do choose to detect the browser language, you will get 3 homepages:
    /mysite/af/
    /mysite/en/
    /mysite/de/

    When the user will go to /mysite/ it will be automatically redirect to its preferred language homepage. Is that what you want ?

  5. Gustavius
    Member
    Posted 2 years ago #

    I didn't even know you can do that via the browser! But yes, I need to be able to redirect the user to the specific language or he should be able to go to any language from any language page (sub-site in a wordpress multi-site).

    And thank you Jan for the fix :)

  6. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Every user can choose its preferred languages in any browser. For example, in Firefox, you can set this in edit->preferences->content. This information can be used by any website. It is used by Polylang if you check the right option (which is the case by default). If none of your website languages match the user preferences, Polylang reverts to the default language.

  7. Gustavius
    Member
    Posted 2 years ago #

    Thanks Chouby!

    But I still need to know how I can redirect a user to any language specific sub-site in a WP multi-site set-up when they click on a flag or language selection. At the moment polylang only changes the language for the current sub-site.

    In other words:

    At the moment if I am in the Afrikaans sub-site and select English it does not change the directory but stays at /mysite/af/ instead of going to /mysite/en/.

  8. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Do you mean that you used the multisite feature of WordPress and set up 3 different sites, one for each language? Polylang does not work like this. Other plugins do. Polylang allows you to setup a multilingual site with a standard WordPress installation, with no multisite feature enabled (or if you want, several multilingual sites with the multisite feature enabled).

  9. Gustavius
    Member
    Posted 2 years ago #

    That's a dissapointment! It's such a great plug-in!

    Any other suggestions EXCEPT qtranslate - I had a LOT of problems with it to try and get Afrikaans working. I need something that will work with WP E-commerce. The only other option seems to be WPML.

  10. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    qTranslate, WPML and Polylang are, in this respect, working the same way. They don't need a multisite installation to make multilingual site. They transform a standard installation in a multilingual site.

    I believe this plugin allows you to link different (multilingual) sites
    http://wordpress.org/extend/plugins/multisite-language-switcher/ (I never tested it)

    Polylang has not been tested with WP E-commerce. For WPML, I guess you can just ask them.

  11. CKatzman
    Member
    Posted 2 years ago #

    I've read that for SEO, Google recommends having each language in its own subdomain or subdirectory, all within one website domain. Can Polylang handle this? Is Polylang known to be compatible/incompatible with any particular SEO plugin? I'd like to use SEO by Yoast.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic