Hi Sandeep,
It sounds like you wish to create profiles for each user. You can not use
the struts message classes (as they stand) to achieve this, as users share
the .properties file for each locale.
You could get a default value from the properties file in a specific locale,
but override it if a corresponding entry exists in the db for the user. You
can use the logic, bean:message and bean:write tags to do this.
You wouldn't have to worry about the language when getting from the db as
the user would have specified the text themselves. You would thus expect
them to understand what is displayed.
No help I know, but...
Jon.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 14 June 2001 05:18
To: [EMAIL PROTECTED]
Subject: Internationalization (I18N) query
Hi All,
This is a typical requirement about the internationalization.
I want to create an application to be displayed in English and Japanese.
Also, the user has given facility to customise some of the display field
names
for him.
Now, question arises, do we need to provide the internationalization for
these
cutomised fields.
What is the general trend for this and Is it feasible to do this?
e.g. if an english user change field name like "employee_name" to
"empl_name",
what if next time when he logs on selecting locale as "Japanese".
What should we display, "empl_name" literal in english or something else in
Japanese, like default setting for that field in Japanese?
Kindly forward your suggestion for such kind of Internationalization.
- Sandeep