23 Mar 2012 2:24 PM #1
i18n Experiment with css content
I have a simple experiment for doing internationalization. In this example I'm using css content properties to not reload the app when a lang changes. It works pretty nice but I'm not sure about the performance yet.
Check the example working at http://elmasse.gaver.nl/projects/bundle-css
Or see the code from github repo at https://github.com/elmasse/Ext.i18n....ee/css-content
As I said, this is an experiment. Maybe it can be ported to ExtJS so the impact of adding more dom elements is not as important as in mobile.
24 Mar 2012 6:51 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I would be interested in performance. I am changing locale via JS so you don't need to reload to set locale.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
27 Mar 2012 2:44 AM #3
27 Mar 2012 3:38 AM #4