File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!