1. #51
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
    lucian.ilea is on a distinguished road

      0  

    Default


    Hello,

    I am new to ST2 and I am trying to build a multilanguage app. I am currently using the Ux.locale.Manager plugin - which I find very useful!

    But I also have a problem while using it... I have a tabPanel which uses a store to load some HTML data from a remote server. The store's url is pulled from the locales files using:

    Code:
    Ux.locale.Manager.get('url.link1');
    The store's content is loaded when the panel is showed on the screen.

    The change language code:

    Code:
    onLangChange: function(field, value) {
           var lang = field.originalValue;
            Ux.locale.Manager.updateLocale(lang);
            this.getOvLang().hide();
            this.getTbPanel().fireEvent('show');
    },
    After the updateLocale call, I am hidding the overlay I use for the language options, and then fire the show event of the Panel which displays the data. After this step, the get function I use to set the store url returns undefined (or the default value if I set one). The language is changed, but the isLoaded (in Ux.locale.Manager) function returns false.

    If I tap on another tab and then tap again on that one, the correct language is loaded.

    Can you figure out what am I doing wrong?

    Thank you!

    Best regards,
    Lucian

  2. #52
    Sencha User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    tiagoadp is on a distinguished road

      0  

    Default Guide for this?

    Guide for this?


    Hello i am really interested in using this locale extension, but i need a guick guide to use with architect 2.1, if anyone can provide a text based one i will be most pleased!

    Tnx.

  3. #53
    Sencha Premium Member intellix's Avatar
    Join Date
    Mar 2012
    Location
    UK + Malta
    Posts
    263
    Vote Rating
    18
    intellix will become famous soon enough

      0  

    Default


    For using with Arcitect you just add a custom parameter on everything like a button:

    locales: {
    text: "Register"
    }

    You won't see your text within Architect, apparently they're sorting this out in a future version to be able to "process" your parameters so could add ability to see your default text or something in the future

  4. #54
    Sencha User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    tiagoadp is on a distinguished road

      0  

    Default


    Ok, but, how to make it work with architect configs? i mean. i use a require on the application then i use the loader to wrap the Ux to a custom folder, etc...? i need a guide like that... new to architect 2.1 ...

    Quote Originally Posted by intellix View Post
    For using with Arcitect you just add a custom parameter on everything like a button:

    locales: {
    text: "Register"
    }

    You won't see your text within Architect, apparently they're sorting this out in a future version to be able to "process" your parameters so could add ability to see your default text or something in the future

  5. #55
    Sencha User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    tiagoadp is on a distinguished road

      0  

    Default Ok

    Ok


    Ok got it runnig with SA2

    Really nice extension, nice work!

  6. #56
    Sencha User
    Join Date
    Apr 2010
    Posts
    9
    Vote Rating
    0
    tiagoadp is on a distinguished road

      0  

    Default


    Got issue with Window Title...

    It doesn´t change it... Tryed to make an override for window, but nothing worked... any1 has a solution?

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

      0  

    Default Can we use .properties instead of json files?

    Can we use .properties instead of json files?


    Hi

    Can we use .properties files instead of language specific json files? How to achieve this?

    Thanks
    Dhruv

  8. #58
    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

  9. #59
    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?

  10. #60
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    143
    Vote Rating
    1
    anitacynax is on a distinguished road

      0  

    Question localising item that is nested within another item

    localising item that is nested within another item


    I am using the Ux.locale.Manager extension and am having trouble localising an item that is nested within another item. I have a toolbar which has an item called Fruits. This in turn has a (menu) item called Apples. When I call the updateLocale method, the Fruits item text changes to its German counterpart (Fruchte) but the Apples text is not translated. What am I doing wrong? Here is my code:
    Code:
    {
                                        xtype: 'toolbar',
                                        region: 'south',
                                        items: [
                                            '->',
                                            { locales : {
                                                text: 'fruits'}, 
                                                menu: {
                                                    items: [
                                                        {    locales: { 
                                                            text: 'apples'},
                                                            width: 'auto',
                                                            handler: function () {
                                                                window.location = '/fruits/apples.castle';
                                                            }
                                                        }
                                                    ]
                                                }
                                              
                                            }
                                        ]
                                    }

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi