title: multi language using javascript
body: <p>I have 3 different languages in my website. I would like to create 3 buttons for changing relative language: </p>
  
  <ul>
  <li>Clicking <code>Eng</code> will direct to /en/index.html</li>
  <li>Clicking <code>Chinese</code> will direct to /../chi/index.html</li>
  <li>Clicking <code>japan</code> will direct to /../jp/index.html</li>
  </ul>
  
  <pre class="lang-html prettyprint-override"><code>&lt;a class="changeLang" href="chi"&gt;CHI&lt;/a&gt;
  &lt;a class="changeLang" href="eng"&gt;ENG&lt;/a&gt;
  &lt;a class="changeLang" href="jp"&gt;JP&lt;/a&gt;
  </code></pre>
  
  <p>Is it any simple javascript to change the page? Thanks a lot.</p>