Jump to content

How to translate GridGrouping Message in uniDbGrid to other language?


delphiboy

Recommended Posts

Development Environment:

Windows 7 Pro -  Chinese Simplified Locale

Delphi XE3 Enterprise - 32/64 bit

Browser Chrome version: 26.0.1410.5 dev-m

uniGUI version: 0.91.0.982

 

UNIGUI Demo : GridGroupingSummary

 

I want  translate :

 

"Group by this field" and "Show in groups"  (see attached image)

 

 to other language, How do I ?

post-109-0-57590700-1361069853_thumb.jpg

Link to comment
Share on other sites

Hi,

 

1) Change ServerModule.ExtLocale := [your lang]: ( for  example:  ServerModule.ExtLocale := fa )

2) Go to [ \uniGUI\ext-4.1.1a\locale\ ] folder and find you lang locale file: ( for example: ext-lang-fa.js )

3) Add this section in end of file then save and refresh your browser.

 

 

 

    Ext.define("Ext.locale.fa.grid.feature.Grouping", { // <-- Change [fa] letters to your lang name
        override: "Ext.grid.feature.Grouping",
        emptyGroupText: "(None)",           // <-- You can change this text
        groupByText: "Group by this field", // <-- Change this text
        showGroupsText: "Show in groups"    // <-- Change this text
    });

 

 

Regards

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...