This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-jquery-grid-tags and i18n" Watch "struts-jquery-grid-tags and i18n" New topic

struts-jquery-grid-tags and i18n

Armin Vetek

Joined: Aug 21, 2010
Posts: 29

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?

Armin Vetek

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" ... />

I agree. Here's the link:
subject: struts-jquery-grid-tags and i18n
It's not a secret anymore!