View Full Version : Changing Paging Toolbar labels

20 Dec 2010, 11:37 PM
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 ?

21 Dec 2010, 12:06 AM
Check out the locale files in the /src/ directory:

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'

21 Dec 2010, 2:15 AM
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

Property file
column.patientId PatiŽnt Id

JS File

but am getting (diamond filled with ?) instead of Ž