title: ember-i18n - Internalization Support
body: <p>I am currently using jamesarosen/ember-i18n for internalization support on my ember 1.5.1 app.</p>
  
  <p>I have two languages. English and French.</p>
  
  <pre><code>Em.I18n.translations = {
    en: {
      animal: {
        cat: 'cat',
        dog: 'dog'
      }
    },
  
    fr: {
      animal: {
        cat: 'chat',
        dog: 'chien'
      }
    }
  };
  </code></pre>
  
  <p>In my handlebars template I have: -</p>
  
  <pre><code>{{t animal.cat}}
  </code></pre>
  
  <p>However I get the message:</p>
  
  <blockquote>
    <p>Missing translation: animal.cat.</p>
  </blockquote>
  
  <p>It would work if I place:</p>
  
  <pre><code>{{t en.animal.cat}} or {{t fr.animal.cat}}
  </code></pre>
  
  <p>What is the best practice to get this working and to make it automatically switchable between the two languages? I have tried setting this at the top of my file: </p>
  
  <pre><code>Em.I18n.locale = 'fr';
  </code></pre>