tags:

views:

36

answers:

1

Hi.. I need to i18n my jqgrid depending on the language sleected... I need my jqgrid in english and german.... If anybody could tell the steps for the same or hoq cani achieve it???? Any help is thanked.... Its kind of urgent....

A: 

If you need only the change the column header it is very easy:

$('#list').jqGrid ('setLabel', 6, 'Insgesamt');

changes the header of the 6-th column to 'Insgesamt'.

Oleg
But cant i take this value from the properties file.... i am using spring mvc.... i have used jstl spring tag for internationalization....
apoorvabade
If you construct the values on the server side, than you should have absolutely no problem. Just include in the page the correspond i18n and fill the names of the `colModel` **on the server**. The page which receive the user will at the beginning has all in his language.
Oleg
Hey thnx Oleg... But i find it difficult to understand.... Can u give me some example to simplify it much better????
apoorvabade
@apoorvabade: You don't write which technology you use on the server side (ASP.NET MVC, JSP, PHP and so on). What do you use? It is better if you modify also tags of your question.
Oleg
Sure.... Thanks for the information Loeg.. I will keep in mind next time this point.. Sorry for posting it here!!!
apoorvabade