Forums

About multilanguage blogging in wordpress (5 posts)

  1. PaBLoX
    Member
    Posted 4 months ago #

    I searched a lot to find a plugin (or any way) to start blogging in two languages (English and Spanish). qTranslate is really easy to use, but it only allows translations of the post and titles and not the whole blog, which is what I'm looking for.

    Finally I think the closest thing is the xlanguage plugin.

    The problem is that even when I managed to translate posts and their according titles, I can't find the way to translate the whole page. (I know that is possible, because the xlanguage plugin official page works that way, but with english, chinese, cantonese).

    If I insert the <span lang="es"> (or "en") in the footer for example, it shows both languages even if I click on the "castellano" or "english" flag.

    <span lang="es">hola</span><span lang="en">hello</span> shows:

    holahello

    I'm not sure if I'm supposed to do something with WP itself or I should do something with the plugin. I guess the "xlanguage parser" (I don't know how to to call it) it's configured just to "pass" on posts and not the whole blog, so maybe making it start "in the beginning" would solve my problem... but that's only a guess :P.

    Sorry, I'm not a web-developer and I really tried to do something by myself (checking the codex, google, etc), but is really out of my knowledge. So any help would be greatly appreciated!

  2. sabross
    Member
    Posted 2 months ago #

    Did you ever resolved this? i'm having the same problem.

    Actually it just work in a page and not in all others.

    http://www.solidsystemscr.com/lang/en/services/ - works

    http://www.solidsystemscr.com/lang/en/careers/ - doesn't work

  3. papergecko
    Member
    Posted 4 weeks ago #

    It's not very clear from the documentation, but basically what you do is have two themes, one for each language. When I've used it in Welsh and English I create the English theme first, then create a copy of it, called theme_cym or something, then translate all the necessary components of the welsh theme.

    As long as you've set xlanguage to use the themes that correspond to their languages it should work. It also means that if you don't translate the page content, the navigation and so on should still be translated.

    I used it on this site: http://www.aromatherapywales.org/

    Sorry I can't be more exact, it's a while since I used it.

    Hope that helps.

  4. PaBLoX
    Member
    Posted 3 weeks ago #

    Thanks for answering!

    How you're supposed to tell xlanguage how to pick different themes? Is something that you have to do in the advanced configuration or something like that?

  5. papergecko
    Member
    Posted 2 weeks ago #

    Yes, you set it in Settings > xlanguage > Language (Advanced) - under Presentation - you can then tell xlanguage to use one theme for one language and a different one for the alternate language.

    Then you just need to translate your theme and make sure it all works.

Reply

You must log in to post.

About this Topic