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

    (@realloc)

    Hello,

    when you add a new language (or a new blog in your network with a new language) you should complete the setup of the plugin also. Is this already done?

    The code (if you really need it) can be inserted in the functions.php of your theme.

    Cheers,
    Dennis.

    Thread Starter dannyboy84

    (@dannyboy84)

    Yes, I have completed setup. I already have the blog working in two languages, the issue is that a third language that I have just added to the original two is not coming up as an option.

    I’ll try inserting in functions.php.

    Thanks!

    Plugin Author Dennis Ploetner

    (@realloc)

    In the most cases this happens if the new blog has no saved plugin-configuration.

    Let me know,
    Dennis.

    Thread Starter dannyboy84

    (@dannyboy84)

    Hi – adding that code to the functions.php of the theme I was using did not work.

    So, the summary is that I have had a dual language switcher working for several weeks. I added a new blog to the multisite in a new language, completed switcher set up, but the new language does not register. So in the ‘Multisite Language Switcher Options’ panel of the menu, it still only shows the original two languages at the top, not the new language.

    Do you have any thoughts on where I might have gone wrong?

    Thanks!

    Thread Starter dannyboy84

    (@dannyboy84)

    What do you mean by saved plugin config? I have entered all the details in the options page of the new language and hit the ‘update’ button. Is there something else I should be doing to save it? Thanks.

    Plugin Author Dennis Ploetner

    (@realloc)

    The new blog has its own language in the general settings?

    Thread Starter dannyboy84

    (@dannyboy84)

    Yes, new blog has its own unique language (Korean) in the general settings.

    Plugin Author Dennis Ploetner

    (@realloc)

    You wrote

    So in the ‘Multisite Language Switcher Options’ panel of the menu, it still only shows the original two languages at the top, not the new language.

    This let me think that the setup is not completed. Did you notice a message regarding this (right after the activation) which came from the Multisite Language Switcher?

    Thread Starter dannyboy84

    (@dannyboy84)

    Yes, there was a notice at the top of my dashboard saying something like ‘Multisite Language Switcher Setup is incomplete. Click here to configure’, but that has gone away now.

    I have just noticed that when I go to create a post, after I hit ‘publish’ this error message comes up:

    Fatal error: Call to a member function get_language() on a non-object in /home/freeespa/public_html/[redacted].com/wp-content/plugins/multisite-language-switcher/includes/MslsMetaBox.php on line 144

    The post still posts, but initially all you see is this error screen.

    Plugin Author Dennis Ploetner

    (@realloc)

    I’m a little bit lost now. So you finished the setup in this blog? Or just in the other blogs?

    Thread Starter dannyboy84

    (@dannyboy84)

    I finished setup of the language switcher other blogs several weeks ago, and they are working fine.

    Then I created a new blog in a new language last week, and it does not work. When I first created the new blog I had the ‘incomplete’ setup prompt, but after configuring the settings and hitting update that message went away.

    I only get the error message I mentioned in the new language blog. The original two languages both work fine.

    Hope that helps clarify?

    Thanks.

    Plugin Author Dennis Ploetner

    (@realloc)

    What is the language code of the new language? It is ko_KR? Do you have a download-link for the language files so I can test it?

    Thread Starter dannyboy84

    (@dannyboy84)

    Yes, ko_KR.mo.

    I just created blank language files in wp-content/languages for all of my languages. There’s no content in them so I don’t know how I would link to them?

    I have:

    en_US.mo
    zh_CN.mo
    ko_KR.mo

    US and CN both work, KR does not.

    Plugin Author Dennis Ploetner

    (@realloc)

    OK, I will try a setup like yours and give let you know if there is anything strange. But if it works I could just check your installation by myself.

    Thread Starter dannyboy84

    (@dannyboy84)

    Thanks. Let me know if you need any more info from me.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘New Language Blog not Recognized / Change Blog Collection’ is closed to new replies.