title: multiple-language on Github-Pages
body: <p>A long time I don't acess my page <a href="http://andeon.github.io/askey/apps/gimp/" rel="noreferrer">http://andeon.github.io/askey/apps/gimp/</a> so, yesterday I checked that the translations not works more for keyboard pages, there was update on github-pages?</p>
  
  <p>Repository structure : github.com/andeon/askey/tree/gh-pages</p>
  
  <pre><code>- |-- _includes/      # Html rendered 
  - |-- _layouts/       # Templates of the website
  -   |--  dic/         # keyboards translation
  - |-- index.html      # Default html file (EN)
  - |-- pt              # Portuguese Language files
  - |-- (...)
  - |-- _config.yml     # Jekyll configuration file
  </code></pre>
  
  <p>The file "_includes/gimp_keyboard.html" use the variable <strong>page.t[page.lang].($variable)</strong> to link the translation in "dic/gimp_en.md" or "dic/gimp_pt.md" etc, that's what translated the tooltips of keys and pop-ups. </p>
  
  <p>Structure of Gimp_en.yml:</p>
  
  <pre><code>layout: main_gimp
  t:
   en:
    tooltip_esc: "Close Dialogs"
    tooltip_f1: "Help"
  </code></pre>
  
  <blockquote>
    <p>ex: gimp_keyboard.html Esc key tooltip:</p>
  </blockquote>
  
  <p><code>&lt;a href="#popup_esc" class="key c27 fn" data-tooltip="{{ page.t[page.lang].tooltip_esc }}"&gt;&lt;span&gt;esc&lt;/span&gt;</code></p>
  
  <blockquote>
    <p>And Pop-up key w</p>
  </blockquote>
  
  <p><code>&lt;div id="popup_w" class="overlay"&gt;
          &lt;div class="popup"&gt;
              &lt;h2&gt;{{ site.t.l_popupt[page.lang] }}&lt;/h2&gt;
              &lt;a class="close" href="#" onclick="history.back(); return false;"&gt;×&lt;/a&gt;
                  &lt;div class="content"&gt;
                      &lt;table class="tftable" border="1"&gt;
                          {{ site.t.l_thc[page.lang] }}
                          {{ page.t[page.lang].key_w }}</code></p>
  
  <p>*The global translation of variable "site.t.(...)[page.lang]" bound inside _config.yml are working.</p>
  
  <p>I don't have idea how fix it. Maybe it not was smart way to make multiple-language with a trick of "dictionary file" (but here the reason <a href="https://github.com/andeon/askey/wiki" rel="noreferrer">https://github.com/andeon/askey/wiki</a> I need the variables to create an easier way to do translations). </p>
  
  <p>Does anyone have any idea to fix or another suggestion?</p>
  
  <p>I'd used this site for reference for create the page: benoitpatra.com/2014/08/24/organize-a-multilanguage-jekyll-site/</p>