File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Internationalization of display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Internationalization of display tag" Watch "Internationalization of display tag" New topic
Author

Internationalization of display tag

Krish Khan
Ranch Hand

Joined: Dec 14, 2009
Posts: 46
Hello every one I am using Structs 1 frame work and i use display tag now i need to internationalize all the column headers to thai language.

can any one help me to explain me how to use step by step.

My JSP




Thank You!
Krish Khan
Ranch Hand

Joined: Dec 14, 2009
Posts: 46
Hey every one i have found the solution :

I found the solution...

First create a display.properties file in WEB-INF/classes folder and then paste this line into that file
locale.provider=org.displaytag.localization.I18nStrutsAdapter

Then declare that cloumn name as tittleKey
eg:


then declare in the translation in resource file as usual.

Its working... for struts 1

Have a try gud luck!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Internationalization of display tag
 
Similar Threads
Using Displaytag, Checkboxes and Struts to get values - I'm a bit lost
How to pass multiple parameters. Displaytag row value not changing on dynamic link
error onclick of radio button inside display tag
maintin checkbox stauts during paginatin(dispalytag)
pagination problem