1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    224
    Vote Rating
    9
    Answers
    13
    dedoz will become famous soon enough

      0  

    Default Answered: Ext.grid.Panel localize loading mask text

    Answered: Ext.grid.Panel localize loading mask text


    im trying to localize to spanish the "Loading ...." mask in the grid panel.
    Mask appears by default while loading its associated store.

    i have a ext-lang-es.js from the libary and most things are traslated but loading mask text
    i have this (in that file)
    Code:
    if(Ext.LoadMask){
         console.log('traslate mask') // just to check if this code is executing
          Ext.LoadMask.prototype.msg = "Cargando...";
    }
    its executed but its not working, grid still shows "Loading ..."

    how can i do this ? translate that grid Loading msg.
    thanks.

  2. Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  3. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Vote Rating
    115
    Answers
    346
    vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold

      0  

    Default


    Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  4. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    224
    Vote Rating
    9
    Answers
    13
    dedoz will become famous soon enough

      0  

    Default


    works, thanks.

Thread Participants: 1