Results 1 to 4 of 4

Thread: Internationalize a Sencha Touch 2 application (I18n) - How to do it ?

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Answers
    3
    Vote Rating
    2
      0  

    Default Internationalize a Sencha Touch 2 application (I18n) - How to do it ?

    I've been looking a bit in the docs of ST2 but to no success.
    Did I simply not look properly or is there a hidden way ?

    Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    17
    Vote Rating
    1
      0  

    Default

    Hey,

    You can take a look at the following blog post:
    http://miguelrodelas.com/web/2011/11...-sencha-touch/

    It is all I found about internationalization. Hope it helps

  3. #3
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Once you get the language code, you may need a more robust solution like loading locale via Ajax

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

    Having a switch statement will increase your app size quite a bit the larger your app grows.
    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

  4. #4
    Sencha User
    Join Date
    Jun 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Once you get the language code, you may need a more robust solution like loading locale via Ajax

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

    Having a switch statement will increase your app size quite a bit the larger your app grows.
    I tried this to do i18n... It works well but I had problem to package to native android app.

    All the internationalized texts are missing.. Is it a known issue ? Is the problem in my app ?

Posting Permissions

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