multi languages of the same theme

  • Hi all,
    I am completely new to wordpress but I do have some background with coding (albeit XML).
    Recently, a friend of mine mentioned that he was thinking of setting up a website for his construction business and I suggested that he might look into using WordPress as, I’d been told, it is easy to maintain.
    Somehow, I have ended up with the job. Probably something to do with alcohol intake!

    The idea is to use it as a static site, not for blogging. It’s been a steep learning curve for me and a lot of trial and error but I’m enjoying the learning experience. I’m waiting for text and more images from the owner so I can complete, but here’s what I’ve got so far: http://www.germanroland.com

    The problem I’m next going to have is languages.
    We live in Spain (which is why the text is in Spanish) but my friend (who is German) deals also with a lot of other nationalities.
    So, is it possible to insert language flags (like these on my website http://www.virtualtours.es) into the menu bar that, onClick, will open a copy of the same theme but in a different language? Or is this completely out of the question for someone with my limited understanding of coding?

    Any advice will be gratefully received.

  • We cannot use the Google translate widget on our blogs or other widgets containing dunamic codes. There is a workaround that I use on my own blog and you will find it here on a static page http://onecoolsitebloggingtips.com/translation/

    If you wish to use this code then you will have to replace the URL for my blog ie. onecoolsitebloggingtips.com with the URL for your blog throughout:

    Click the link below to translate this blog into the language of your choice:
    <table border="0">
    <tbody>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Caf&u=http://onecoolsitebloggingtips.com/">Afrikaans</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csq&u=http://onecoolsitebloggingtips.com/">Albanian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Car&u=http://onecoolsitebloggingtips.com/">Arabic</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Chy&u=http://onecoolsitebloggingtips.com/">Armenian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Caz&u=http://onecoolsitebloggingtips.com/">Azerbaijani</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ceu&u=http://onecoolsitebloggingtips.com/">Basque</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cbe&u=http://onecoolsitebloggingtips.com/">Belarusian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cbg&u=http://onecoolsitebloggingtips.com/">Bulgarian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cca&u=http://onecoolsitebloggingtips.com/">Catalan</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Czh-CN&u=http://onecoolsitebloggingtips.com/">Chinese  (S)</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Czh-TW&u=http://onecoolsitebloggingtips.com/">Chinese  (T)</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Chr&u=http://onecoolsitebloggingtips.com/">Croatian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ccs&u=http://onecoolsitebloggingtips.com/">Czech</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cda&u=http://onecoolsitebloggingtips.com/">Danish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cnl&u=http://onecoolsitebloggingtips.com/">Dutch</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cet&u=http://onecoolsitebloggingtips.com/">Estonian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ctl&u=http://onecoolsitebloggingtips.com/">Filipino</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cfi&u=http://onecoolsitebloggingtips.com/">Finnish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cfr&u=http://onecoolsitebloggingtips.com/">French</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cgl&u=http://onecoolsitebloggingtips.com/">Galician</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cde&u=http://onecoolsitebloggingtips.com/">German</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cka&u=http://onecoolsitebloggingtips.com/">Georgian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cel&u=http://onecoolsitebloggingtips.com/">Greek</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ciw&u=http://onecoolsitebloggingtips.com/">Hebrew</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Chi&u=http://onecoolsitebloggingtips.com/">Hindi</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Chu&u=http://onecoolsitebloggingtips.com/">Hungarian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cis&u=http://onecoolsitebloggingtips.com/">Icelandic</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cid&u=http://onecoolsitebloggingtips.com/">Indonesian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cga&u=http://onecoolsitebloggingtips.com/">Irish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cit&u=http://onecoolsitebloggingtips.com/">Italian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cja&u=http://onecoolsitebloggingtips.com/">Japanese</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cko&u=http://onecoolsitebloggingtips.com/">Korean</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Clv&u=http://onecoolsitebloggingtips.com/">Latavian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Clt&u=http://onecoolsitebloggingtips.com/">Lithuanian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cmk&u=http://onecoolsitebloggingtips.com/">Macedonian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cms&u=http://onecoolsitebloggingtips.com/">Malay</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cmt&u=http://onecoolsitebloggingtips.com/">Maltese</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cno&u=http://onecoolsitebloggingtips.com/">Norwegian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cfa&u=http://onecoolsitebloggingtips.com/">Persian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cpl&u=http://onecoolsitebloggingtips.com/">Polish</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cpt&u=http://onecoolsitebloggingtips.com/">Portuguese</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cro&u=http://onecoolsitebloggingtips.com/">Romanian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cru&u=http://onecoolsitebloggingtips.com/">Russian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csr&u=http://onecoolsitebloggingtips.com/">Serbian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csk&u=http://onecoolsitebloggingtips.com/">Slovak</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csl&u=http://onecoolsitebloggingtips.com/">Slovenian</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ces&u=http://onecoolsitebloggingtips.com/">Spanish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csw&u=http://onecoolsitebloggingtips.com/">Swahili</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Csv&u=http://onecoolsitebloggingtips.com/">Swedish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cth&u=http://onecoolsitebloggingtips.com/">Thai</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ctr&u=http://onecoolsitebloggingtips.com/">Turkish</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cuk&u=http://onecoolsitebloggingtips.com/">Ukrainian</a></td>
    </tr>
    <tr>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cur&u=http://onecoolsitebloggingtips.com/">Urdu</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cvi&u=http://onecoolsitebloggingtips.com/">Vietnamese</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Ccy&u=http://onecoolsitebloggingtips.com/">Welsh</a></td>
    <td><a href="http://translate.google.com/translate?hl=en&langpair=en%7Cyi&u=http://onecoolsitebloggingtips.com/">Yiddish</a></td>
    </tr>
    </tbody>
    </table>

    
    For easy reader access to the stsic trandlation page you can place a text widget with a link to it at the top of your sidebar in a text widget.

  • Thanks for sharing the code timethief, but it’s not quite what I’m looking for.

  • My guess is that you could do it using custom links in custom menus. See
    http://en.support.wordpress.com/menus/ . I have not tried it, but it looks as though it should work.

  • Thanks tandava, this could work.
    However, I still need to put a ‘change language’ icon in the menu or side bar for the user to click on to change to an alternative custom menu.
    Does such a thing exist or does anybody have any code that will do this?

  • My blog has a custom menu. One of the pages in that custom menu is my Translation page (see above). It can be accessed by visitors by clicking a link to it that I placed in the sidebar of the blog in a text widget.
    http://en.support.wordpress.com/widgets/text-widget/

  • I appreciate your help timethief but, as I said before, this is not going to work for me.
    Google translate is a great tool if you are getting hits from a lot of different countries and you just need your users to have a rough idea about what’s going on in your blog but, when it comes to accurate translation, it’s really not very good at all. Also, I have used a few images that contain text and these would not be converted in the translation.
    I only need two or maybe three translations of the pages and, as it is a static site, not a blog, everything needs to make sense to the user, in the language they have chosen.
    Thanks again though for taking the time to reply to my post.

  • Here’s the deal. Dynamic codes eg. Javascript which is found in Translation widgets cannot be used on wordpress.COM blogs. There is no in-house widget we can use. http://en.support.wordpress.com/code/

  • The topic ‘multi languages of the same theme’ is closed to new replies.