1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Vote Rating
    2
    Answers
    3
    sephyroth69 is on a distinguished road

      0  

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

    Unanswered: 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
    Sn4k3 is on a distinguished road

      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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,549
    Vote Rating
    873
    Answers
    3567
    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


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

  4. #4
    Sencha User
    Join Date
    Jun 2013
    Posts
    1
    Vote Rating
    0
    Maxx99 is on a distinguished road

      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 ?