title: ExtJS 4.0: Localization issues
body: <p>I followed closely guide on Localization: <a href="http://docs.sencha.com/ext-js/4-0/#!/guide/localization" rel="nofollow">http://docs.sencha.com/ext-js/4-0/#!/guide/localization</a>, however I cannot make it work in MVC pattern.
  I don't need dynamic localization like previous example, I just want to set it when application loads.</p>
  
  <p>I tried like this:</p>
  
  <pre><code>Ext.application({
  name: 'KS',
  
  appFolder: 'app',
  
  controllers: ['Menu', 'DailyReport', 'DP'],
  
  launch: function() {
      Ext.Ajax.request({
          url: 'lib/ext-4.0/locale/ext-lang-es.js',
          success: function(response, opts) {
              eval(response.responseText);
          },
          failure: function() {
              Ext.Msg.alert('Error', 'Error al cargar archivos de idioma.');
          }
      });
      Ext.create('Ext.container.Viewport', {
          items: [{
              xtype: 'menu'
          },
          {
              xtype: 'dpedit'
          }]
      });
  
  }
  });
  </code></pre>
  
  <p>In firebug I get: "Ext.view is undefined" error, and nothing renders. If I try Ajax call after creating Viewport, I don't get any error, but translation is not applied.</p>