Home » Blogger Tutorials, Tricks and Hacks » Blogger Posts / Archive Tricks » How To Make A Dual Language Blog With One Click

Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.

|| View All Tutorials ||

How To Make A Dual Language Blog With One Click

How To Make A Dual Language Blog With One Click

1 Star2 Stars3 Stars4 Stars5 Stars

Report Error

2,516 views

Today’s Blogger trick that I’d like to feature and showcase to you guys comes from a guest post by Olesku.pl at bloggertipsandtricks, which shows you a way to make a dual language blog site. His method involves creating a duplicate blog and using a widget that will direct the reader between the two language versions of the site. Below are the steps.

  1. Create two blogs in varying languages
  2. In your Blogger dashboard under ‘Settings’ go to ‘Search Preferences
  3. Make a link to your own site in ‘Custom Page Not Found’, just in case. Something like this:
There is nothing in this link, please continue on <a href=http://yoursite.com>YourSite</a>

4. Create an ‘HTML/JavaScript’ widget in both your blog sites using this code:

<script language="javascript" type="text/javascript">
document.write ("<a href=" + window.location.protocol + "//" + "theotherlanguageadress.com" + window.location.pathname + ">the other language name</a>");
 </script>

5. Replace theotherlanguageadress.com with the URL of your secondary blog which uses the alternative language
6. Replace the other language name with the language used in your secondary blog

And that’s it!

After you’ve done all of the above, every time you finish writing a new post in your primary blog (using your original language), you simply copy all of its information (title, text, images, labels) onto your secondary blog and then publish.

Now you can edit posts, change titles to the proper ones in both languages, change text in the alternative language post, etc. (NOTE: Don’t translate the labels!). Procedure for new pages is exactly the same.

Other things you need to consider:

–          You must have all links exactly the same in both languages. That’s why you have to publish posts and pages with exact titles (you can edit later, but the URL of the post will be created during the first time). Same reason applies to having all the labels exactly the same for both languages used.

–          A URL with a question mark (?) won’t work. For example, links inside comments (it will be truncated at the question mark).

You can check out a working DEMO HERE.

 

Liked It ? Please Share

Comments

6 Responses | Post A Comment | Subscribe To Comments RSS Feed

  1. rio says:

    bagai mana cara membuat salam selamay datang pada blogger

  2. Julia Agnes says:

    cool tip!
    Thank you a lot for this post!

  3. mikea tsimba says:

    thank you for this tip!
    but i want to demand you to do that with this website because we are not so good in english and it’s very cool if we can read your post in french!

  4. khaledadll says:

    cool tip!
    Thank you a lot for this post!

  5. check says:

    Its ok but it only works if you create blog posts in the same month if you would like to add the translation for the post that is more than one month old this solution will NOT work.

    It seems like I will have to switch to wordpress, at least they have a proper solution to this task, unlike Blogger.

  6. Hello, my name is Luke Triantafillopoulos and i’m the first that i created a two language blog in blogger platform…Everything it’s possible

Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here