title: Ng2-translate - Fallback to default language when file doesn't exist
body: <p>I have set up ng2-translate which translates my entire app and I have an <code>en-GB.json</code> file which contains all of my translations. The problem I have now is that if the user's device is set to another language (e.g. 'en-US'), I get 404 errors saying that the file <code>en-US.json</code> doesn't exist.</p>
  
  <p>I have tried this solution <a href="https://github.com/ocombe/ng2-translate#how-to-handle-missing-translations" rel="nofollow noreferrer">https://github.com/ocombe/ng2-translate#how-to-handle-missing-translations</a> but it seems that I would have to set up a default value for every single translation which isn't great.</p>
  
  <p>Is there a way to automatically fall back to using the <code>en-GB.json</code> file if <code>en-US.json</code> (and other language files) doesn't exist?</p>
  
  <p>Thanks for any help.</p>
  
  <p>Edit:</p>
  
  <p>Forgot to mention that I also set a default language like so:</p>
  
  <pre><code>Globalization.getPreferredLanguage().then(
      res =&gt; {
        language = res.value;
        self.translate.setDefaultLang('en-GB');
        self.translate.use(language);
      }
    );
  </code></pre>