Results 1 to 3 of 3

Thread: Changing Paging Toolbar labels

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    3
    Vote Rating
    0
      0  

    Post Changing Paging Toolbar labels

    can I change Paging Toolbar labels in order to add i18n support e.g

    Instead of
    • Page use Pagina
    • Displaying 2 of 11 use Toont 2 van 11


    See Image for elaboration


    One more question, How can I display character, my browser (FF, Chrome) is displaying ?
    Last edited by atifoxon; 20 Dec 2010 at 11:44 PM. Reason: Added another question

  2. #2
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,078
    Vote Rating
    184
      0  

    Default

    Check out the locale files in the /src/ directory:

    Code:
    if(Ext.PagingToolbar){
      Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Page",
        afterPageText  : "of {0}",
        firstText      : "First Page",
        prevText       : "Previous Page",
        nextText       : "Next Page",
        lastText       : "Last Page",
        refreshText    : "Refresh",
        displayMsg     : "Displaying {0} - {1} of {2}",
        emptyMsg       : 'No data to display'
      });
    }

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    3
    Vote Rating
    0
      0  

    Post

    Quote Originally Posted by mankz View Post
    Check out the locale files in the /src/ directory:
    I don't got you point. What I am trying to do is I am referring to a property file Application_en-ES.properties and it contains a property named column.patientId and i my JavaScript file i am reading it

    Code:
    Property file
    column.patientId Patint Id
    
    JS File
    bundle.getMsg('column.patientId')
    
    but am getting (diamond filled with ?) instead of 

Similar Threads

  1. Extjs paging toolbar for php paging
    By speedytangent in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 29 Mar 2009, 2:14 PM
  2. Replies: 3
    Last Post: 15 Feb 2009, 4:54 PM
  3. Dynamically changing (form) labels
    By reinouts in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 May 2008, 12:52 AM
  4. Replies: 0
    Last Post: 24 Apr 2008, 10:59 AM
  5. Grid, paging toolbar - limit not changing
    By John Sourcer in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 16 Nov 2007, 1:06 AM

Tags for this Thread

Posting Permissions

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