title: Multiple languages in cakephp using 2-letter instead of 3-letter in URL
body: <p>I am putting together a multilingual site according to the tutorial: <a href="http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language-switching-for-i18n-and-l10n-internationalization-and-localization/" rel="nofollow">http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language-switching-for-i18n-and-l10n-internationalization-and-localization/</a></p>
  
  <p>However, the tutorial uses three letter notation for different languages (<code>eng</code>, <code>rus</code>) and I would like to use two letters only. </p>
  
  <p>I changed <code>config/core.php</code></p>
  
  <pre><code>Configure::write('Config.language', 'en');
  </code></pre>
  
  <p>then also <code>config/routes.php</code></p>
  
  <pre><code>Router::connect('/:language/:controller/:action/*', array(), array('language' =&gt; '[a-z]{2}'));
  </code></pre>
  
  <p>and also the path to:</p>
  
  <pre><code>locale/en/LC_MESSAGES/default.po
  locale/ru/LC_MESSAGES/default.po
  </code></pre>
  
  <p>but it is still not working. Strings turn out as their default and not read from the <code>.po</code> files. </p>
  
  <p>The <code>.po</code> files, i got from runing cake i18n to generate one single <code>.pot</code> file that i then renamed to <code>.po</code> and copied in each directory for each language. </p>
  
  <p>the <code>.po</code> files are utf-8 encoded.</p>
  
  <p>i also have in my <code>config/bootstrap.php</code>:</p>
  
  <pre><code>Configure::write('Config.languages', array(
      'en' =&gt; array(
      'language' =&gt; 'English',
      'locale' =&gt; 'en',
      'localeFallback' =&gt; 'en',
      'charset' =&gt; 'utf-8'
      ),
      'bg' =&gt; array(
      'language' =&gt; 'Bulgarian',
      'locale' =&gt; 'bg',
      'localeFallback' =&gt; 'bg',
      'charset' =&gt; 'utf-8'
      ),
  )
  );
  </code></pre>
  
  <p>What am i missing?</p>