| Author |
Displaytag header localization problem
|
Narendar Bureddy
Greenhorn
Joined: Apr 25, 2012
Posts: 2
|
|
Hi,
I am using displaytag-1.2.jar in my (springs and hibernate) application.
I need to localize display table header into marathi header.
Please suggest me where exactly i have to place the user-defined displaytag.properties file?
Thanks in advance.
Regards,
Narendar
|
 |
Jelle Klap
Bartender
Joined: Mar 10, 2008
Posts: 1409
|
|
|
Have a look at the display tag library website.
|
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
|
 |
Narendar Bureddy
Greenhorn
Joined: Apr 25, 2012
Posts: 2
|
|
Hi,
Thanks for quick response.
I have gone through the URL suggested by you.
I am using dispalytag_mr_IN.properties file and placed in classes folder.
but it is not picking the value from dispalytag_mr_IN.properties file. Instead it is showing ???display.name??? as header in display table.
Note: "display.name" is key in dispalytag_mr_IN.properties file.
I am not sure where i committed mistake.
Please suggest me how to resolve this issue.
Thanks,
Narendar
|
 |
Jelle Klap
Bartender
Joined: Mar 10, 2008
Posts: 1409
|
|
I can't find an entry for mr_IN on the list of locales supported by Java 7, and I'm betting that ResourceBundle comes in to play at one point or another to match a locale to a .properties file, so that might be a problem.
If you look at the displaytag library page on i18n there are sections about locale resolution and resource lookup. I think that might be your best, or possibly only, option.
|
 |
 |
|
|
subject: Displaytag header localization problem
|
|
|