Results 1 to 4 of 4

Thread: i18n Experiment with css content

  1. #1
    Sencha User
    Join Date
    Apr 2008
    Location
    Buenos Aires, Argentina
    Posts
    67
    Vote Rating
    1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    11
    Vote Rating
    0
      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 Premium User mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    693
    Vote Rating
    12
      0  

    Default

    you can fin Mitchells local manager here:

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •