1. #1
    Sencha User
    Join Date
    Apr 2008
    Location
    Buenos Aires, Argentina
    Posts
    66
    Vote Rating
    0
    elmasse is on a distinguished road

      0  

    Default i18n Experiment with css content

    i18n Experiment with css content


    Hi guys!

    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    11
    Vote Rating
    0
    empyrion is on a distinguished road

      0  

    Default


    Could you give an example of how you are doing internationalization via javascript? I have to do something like that for an app and i have been wondering how to do it.

    Thanks,

    Manuel Silva

  4. #4
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    you can fin Mitchells local manager here:

    https://github.com/mitchellsimoens/Ux.locale.Manager

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar