title: CakePHP Internationalization locale codes
body: <p>I have some troubles with locale codes in CakePHP 1.3 (but also applicable for 2.0)</p>
  
  <p>I am using the 3 letter codes for the languages but some codes are not available. For example I would like to setup <code>aus</code> for Australia. As the documentation says</p>
  
  <blockquote>
    <p>The three-character locale codes conform to the ISO 639-2 standard, although if you       create regional locales (en_US, en_GB, etc.) cake will use them if appropriate.</p>
  </blockquote>
  
  <p>And <code>aus</code> exists in <code>ISO 639-2</code> but does not work with CakePHP. It saves the i18n record but when displaying the content it takes the english version. Just the same happens when putting code that is not available in the ISO standard. Also I have tried with the location based code <code>en_AU</code> and the result is the same. </p>
  
  <p>Am I able to make any code to work, no matter if it is according the ISO standard. This is because in the site administrator has access to the languages in the site and I would like to allow him to use any combination of letters to use as a code for the language.</p>
  
  <p>Also how to get setup code for Australia</p>