WordPress.org

Support

Support » Plugins and Hacks » Multisite Language Switcher » [Resolved] [Plugin: Multisite Language Switcher] New to multisite and using with WordPress 3.3

[Resolved] [Plugin: Multisite Language Switcher] New to multisite and using with WordPress 3.3

  • jenUnderscore_

    @jenunderscore_

    Hi there,
    I’d like to use this plug-in for a new multisite installation using WordPress 3.3.

    I’ve created two sites: /en and /fr

    I’ve installed the plugin and activated it under
    Netword Admin > Plugins > [Network Activate]

    I then went to Settings > Multisite Language Switcher
    on each of my websites (/en and /fr)

    This is where I’m a little stuck.. How do I tell the system that /en is my english version and fr is my french version? It appears that it sets them each to “us”, but I don’t know how to change that.

    Also, with this plug-in activated when I go to save a page I get the following error:

    Fatal error: Call to a member function get_language() on a non-object in C:\[…]\wp-content\plugins\multisite-language-switcher\includes\MslsMain.php on line 65

    What am I missing? or is this just a prob while you’re bring the plug-in up to date with 3.3.

    http://wordpress.org/extend/plugins/multisite-language-switcher/

Viewing 15 replies - 1 through 15 (of 38 total)
  • Plugin Author Dennis Ploetner

    @realloc

    You can set the language of each blog in Settings > General. If there is no option like “Site language” you have to install the language files you need (have a look at http://svn.automattic.com/wordpress-i18n/).

    I think that you get the error because there are no language files. I will check that. I use WordPress 3.3 for testing so it should work “out of the box”.

    Thank-you for your reply – it was exactly what I was looking for.

    I got it working after first adding the *.mo files into my site (wp-content/languages), setting the language of each site in “General Settings”, and then installing and configuring the “Multisite Language Switcher” plugin for each site.

    However, I had to reinstall WordPress and the “Multisite Language Switcher” plugin because I’m assuming my previous attempts at setting it up was causing conflicts (I was getting the “Fatal error: Call to a member function get_language() on a non-object in C:\[…]\wp-content\plugins\multisite-language-switcher\includes\MslsMain.php on line 65” error when tryign to update my english site, despite the fact I had installed my language files.

    In any case, everthing seems to be working now.

    Thank-you again for your quick response

    Does anyone know how to create a NEW multi-site in 3.3?

    I’m completely lost, all I have is “My Sites” and see no ability anywhere to act in Network Admin and create a new site from base domain.

    I’ve of course modified the wp-config.php and it was all working fine in 3.2.1.

    Thanks!

    Plugin Author Dennis Ploetner

    @realloc

    Under “My sites” you should find “Network Admin” … but you know that this has not much to do with the MSLS-Plugin?

    It’s not there, but I plan to use your plugin once I get it working…

    garybrant, this question doesn’t really belong here – that said, I recently set-up multisite for the first time (on WordPress 3.3)

    Start your search here: http://codex.wordpress.org/Create_A_Network

    I also found this article helpful: http://www.netmagazine.com/tutorials/build-multilingual-site-wordpress

    You probably just have something configured wrong. I recommend starting from scratch and taking it step-by-step.

    He all,

    I do have the exact same problem as jenUnderscore_.
    I do have two sites (English and Spanish).
    I have set these sites to their languages in General Settings.
    The .mo files are there.
    I am using two different themes for each site.
    I’ve set up the Multisite Switcher for both sites individually.
    The language switcher only recognises one language (English) and I cannot update my site, just as jenUnderscore_
    Also tried to delete the plugin and reinstall.

    Do I really need to reinstall WordPress? That’s a pain.
    Is there another easier fix?

    Shalom,
    Jonathan

    Plugin Author Dennis Ploetner

    @realloc

    You should make the setup of the plugin. Go to Settings > Multisite Language Switcher and click then on Save if the settings fit your needs. Do this for the other blogs too.

    @realloc

    I have done this offcourse, but still I will get the problem that I cannot update pages or posts.
    My language switcher in the header also gives the wrong URL. I will point to the same language and not to the other language.

    Any more ideas?

    Greetings,
    Jonathan

    Jonathan
    I’ve just come through a similar issue. Not sure if the resolution is the same. In my case, as an absolute beginner with web page building, I found out how small details matter – I installed the .mo files to /wp-content/Languages instead of …/languages. Once I renamed the folder, it all worked beautifully.
    Hope that helps, good luck

    Adam

    Plugin Author Dennis Ploetner

    @realloc

    @jonathanfokker Yes, I’m quite sure that you have not set the language in all of your blogs. Please have a look if you set the language in your Spanish blog too.

    He Adam,

    Thanks, but I have the language directory well translated.

    I am trying to reinstall my whole multisite which is a pain.

    Shalom,
    Jonathan

    Plugin Author Dennis Ploetner

    @realloc

    @jonathanfokker There is no need to reinstall the whole multisite.

    He all,

    I got it to work today.
    Don’t know what the problem was, I think it was a User problem or that I installed the Multi Language Switcher also in the Main site (not the language sites).

    Great plugin realloc. Really good.

    Some ideas for further optimization:
    1) Quick possibility to link the pages. Now I have to open each page, but just in one click would be great.
    2) A little bit more documentation on the custom flags and directory?

    Shalom,
    Jonathan

    Plugin Author Dennis Ploetner

    @realloc

    @jonathanfokker Thanks for your feedback. I’ll work on this … 😉

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Resolved] [Plugin: Multisite Language Switcher] New to multisite and using with WordPress 3.3’ is closed to new replies.
Skip to toolbar