Problems still exist: language switch fails (json cant be decoded) and the text of green/red button in the lower left corner is missing. Used lib: sencha-touch-debug.js (st 2.0.0 commercial).
Originally Posted by mitchellsimoens
You must always run your app through a web server.
Ok, it was working with the 2.0.1 RC version but upgrading to 2.0.1 final and the buttons do break. I also noticed your link is using 2.0.0. I will be fixing it for 2.0.1 final so you will probably need to upgrade it to 2.0.1
Ok, it was working with the 2.0.1 RC version but upgrading to 2.0.1 final and the buttons do break. I also noticed your link is using 2.0.0. I will be fixing it for 2.0.1 final so you will probably need to upgrade it to 2.0.1
Turns out it is a framework bug. The override for the component that sets the flag to have enableLocale set to true is not being executed as it was.
This isn't the first time this bug has creeped up so I guess I will need to work around it a different way. For now you can set enableLocale : true and locale : Ux.locale.Manager on the buttons and that will enable it to work. I have pushed an update that will fix it for now until I fix it for good (hopefully)
Thanks for taking time to look into the bug & the workaround!
Originally Posted by mitchellsimoens
Turns out it is a framework bug. The override for the component that sets the flag to have enableLocale set to true is not being executed as it was.
This isn't the first time this bug has creeped up so I guess I will need to work around it a different way. For now you can set enableLocale : true and locale : Ux.locale.Manager on the buttons and that will enable it to work. I have pushed an update that will fix it for now until I fix it for good (hopefully)
One last question: the picker done/cancel button texts are also not updating when the language is switched. It seems like enabling locale & setting the locale manager in (override) Picker.js (doneButton, cancelButton) is not the correct way to solve this.
Originally Posted by desmo
Thanks for taking time to look into the bug & the workaround!