View Full Version : Localization

3 Oct 2012, 2:35 AM
I'm loading a language pack js using
Ext.onReady(function () {

However, when testing the compiled app-all.js,
language pack doesn't take effect.
My guess is that it loads too late.
Any idea where to put the inject code or alternative best practice for language apply?
Same with Touch.

3 Oct 2012, 2:51 AM
Im using gettext compatible js lib http://www.zomeoff.com/jsin/

3 Oct 2012, 5:41 AM
Cool, but the question was when is the right time to load the resource js file, since the Ext flow, so I understand from this, initialize components prior to allowing the resource js to load
So, if someone has a good practice for this - I'll appreciate if one will share it.