Hybrid View

  1. #1
    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 Ux.locale.Manager

    Ux.locale.Manager


    This is like my other locale manager (Ext.LocaleManager)... there are two differences to this one:
    1. Doesn't support loading a locale file via <script>. It's only Ajax currently, will support JsonP in next release.
    2. No need to rerender components to have the locale applied.

    Not all components are supported on the dynamic locale but there are a couple examples in place that any class (Ext JS or custom) can be supported.

    This also has been tested to work with Sencha Touch 2.

    Sencha Market listing: http://market.sencha.com/addon/ux.locale.manager
    GitHub Repo: https://github.com/mitchellsimoens/Ux.locale.Manager
    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.

  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


    This is the class I will further develop, not Ext.LocaleManager. This does not use bundles, no need for them.
    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
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    Miami, FL
    Posts
    51
    Vote Rating
    1
    omarc is on a distinguished road

      0  

    Default


    I wanted to know if anybody had any ideas on how to localize an Ext.DataView with Ext.locale.Manager?

    This would be useful for certain labels within an XTemplate within a DataView.

    I had thought of just overriding the "prepareData" function for each DataView and then passing in the labels I needed, but that seems rather long winded.

    Anybody have any other ideas?

    Thanks,

    Omar

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Hi Mitchell,

    any news regarding localization from a locale file ? Thinking to a runtime localization from locale files and your implementation could be a solution to my qt-extjs based app.

  5. #5
    Sencha User
    Join Date
    Dec 2010
    Posts
    81
    Vote Rating
    0
    babar.sajjad is on a distinguished road

      0  

    Default Not working when I build app in tetsing mode

    Not working when I build app in tetsing mode


    Hi Mitchell,

    Great plugin to enable localization in to your app but I have few issues with this plugin. when I build my app into testing, the whole code merges in one file then in the override classes I get error when I tried to get locales.html or locales.text property because in the locales variable I got null value. The same thing work fine in normal mode so what should I do so that this plugin can work properly in testing or production mode.

    And when should we have the loadScriptTag functionality enabled, any updates ?

    Again thanks for this great plugin.

  6. #6
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    desmo is on a distinguished road

      0  

    Default


    Hello,

    is this component still supported? I noticed an interesting issue: The MVC example only works when sencha-touch-all-debug.js or sencha-touch-all.js is used (st v 2.0.0 commercial was used for the test). When the other sencha-touch libs are used, Ext.ComponentQuery does not return all components (save/cancel buttons in the lower left corner and the datepicker).

    Bug?

  7. #7
    Sencha User madupiz's Avatar
    Join Date
    Feb 2013
    Posts
    2
    Vote Rating
    0
    madupiz is on a distinguished road

      0  

    Default


    Hi babar,
    Were you able to build successfully with this plugin?

  8. #8
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
    dhruvchauhan is on a distinguished road

      0  

    Default


    Hi

    Can we use .properties files instead of .json?

    Thanks
    Dhruv

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