Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes struts-jquery-grid-tags and i18n Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-jquery-grid-tags and i18n" Watch "struts-jquery-grid-tags and i18n" New topic
Author

struts-jquery-grid-tags and i18n

Armin Vetek
Greenhorn

Joined: Aug 21, 2010
Posts: 29
Hi,

I would like to use i18n with struts2-jquery-grid-plugin. I would like to translate "View 1-N" of N in the bottom of the grid. I found locale js files in the package template.i18n. The text remains in english regardless I modified request_locale. Should I use another locale variable?

Regards,
Javanus


http://www.javanus.com/blogs
Armin Vetek
Greenhorn

Joined: Aug 21, 2010
Posts: 29
Johanes gave me an answer:

you can use the head tag to set the local.

<sj:head locale="xx" ... />

Johannes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts-jquery-grid-tags and i18n
 
Similar Threads
get data from valueStack inside an action
Best practice for i18n/locale selection?
Java Internationalization
struts-jquery-grid-tags and i18n
Whole page localization - is this possible in JSF