PDA

View Full Version : [CLOSED] Gridpanel: customizing PagingToolbar text strings



tanky65
Jun 25, 2013, 10:13 AM
Hi,

Is it possible to customize the text strings of the Pagintoolbar ?

In italian language, in previous version 'Record' was reported for 'Displaying', now 'Mostrati' (Shown) is reported. Furthermore 'Page size' is not translated and it stays in english. I would change them to client suggestions...

6449

Thanks in advance

tanky65
Jun 25, 2013, 10:18 AM
Should be enough to customize ext-lang-it.js, if possible and/or permitted ?

Daniil
Jun 25, 2013, 12:23 PM
Hi @tanky65,

It looks localized for me.
6450

What Ext.NET version are you using?

How do you set up a locale? It is how I do that.

<ext:ResourceManager runat="server" Locale="it" />


Should be enough to customize ext-lang-it.js, if possible and/or permitted ?

Well, it is possible, but a developer should not commonly do that. Though, if really needed, you can take this file, change as you need and attach to a page manually.

Also there are special properties in PagingToolbar:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.toolbar.Paging

We are talking about the afterPageText and displayMsg properties.

tanky65
Jun 25, 2013, 12:55 PM
Thanks and sorry..
1. I' m up to date to last trunk ver.
2. my mistake: as you can see in the image I posted before, I found the text Page Size in english. It comes from one of my resources strings .. and I forgot I set some times ago.
3. thank you for ext.toolbar.paging notes, i think, in the case, this is the right place to set 'em
bye

Daniil
Jun 25, 2013, 1:11 PM
So, is the issue getting resolved?

tanky65
Jun 25, 2013, 1:25 PM
Is there a way to superseed the message displayMsg when no items have been selected ?

tanky65
Jun 25, 2013, 1:27 PM
emptyMsg... thanks

yes resolved, you can close it !