This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
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