4 Jul 2012 12:51 AM #37
I'm coming across a similar issues where DataViews/Templated components need to be refreshed (where there are string literals inside) and Stores regenerated which requires a little more specific logic than the standard component properties do for updating.
I like the idea of an event being fired which these troublesome components can listen to it and do what they need to.
Another option might be to allow a function to be passed in the locales config which would get executed in the scope of the component when the locale is changed and this logic can reside there.
Anyways, I'll try and report back on what I end up doing and seeing what works best.
Thanks for your work on this - it certainly takes the pain out of localising apps!
StuartSwarmOnline.com - Web & Mobile Development and Training Services
Check out our Ext JS 4 Cookbook
...and the FREE e-book Ext JS 4 Cookbook - Exploring Further filled with recipes that we couldn't fit in!