1. have ApplicationResources.properties as English property file.
2. prepare a resource file for each language, in the case
of Chinese, it
is
ApplicationResources_zh_CN.properties in the same
directory, with the
content
translated to Chinese
3. Set init parameter
Have you implemented the localization on your pages correctly ??
e.g.
bean:message key=blabla/
Are the keys correct to your applicationRessources.properties file ?
Oliver
-Original Message-
From: Yibing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:02 PM
To: [EMAIL
, 2002 10:05 AM
To: Struts Users Mailing List
Subject: RE: Multi-Lingual support
1. have ApplicationResources.properties as English property file.
2. prepare a resource file for each language, in the case
of Chinese, it
is
ApplicationResources_zh_CN.properties in the same
directory
is this correct?
Thanks,
Yibing
-Original Message-
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:08 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Multi-Lingual support
Have you implemented the localization on your pages correctly ??
e.g
-Original Message-
From: Tero P Paananen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:05 AM
To: Struts Users Mailing List
Subject: RE: Multi-Lingual support
1. have ApplicationResources.properties as English property file.
2. prepare a resource file
Mailing List
Subject: RE: Multi-Lingual support
The resource files all have the same list of the keys but different contents. Right?
e.g.
title
bean:message key=index.title/
/title
In my resource file, there is a line of:
index.title=Testing Struts
In my chinese resource file
Sorry my fault, also in ie you can define the locale in your settings
extras-options-languages
-Original Message-
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:29 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Multi-Lingual support
To: Struts Users Mailing List
Subject: RE: Multi-Lingual support
Could you tell me how to set up the locale in my browser? The
only thing I
know
is that I have set the encoding under the view ( for IE ) to
the appropriate
language I expect.
Thanks,
Yibing
-Original Message
Go to Tools/Internet Options...
Click on the Languages button.
If Chinese is on the list move it to the top. If not,
click the Add
button and follow the instructions.
You might also need to restart the browser. We've experienced
some inconsistent behavior when testing different
?
Thanks,
Yibing
-Original Message-
From: Oliver Reflé [mailto:[EMAIL PROTECTED]]
Sent: 2002Äê4ÔÂ18ÈÕ 10:32
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Multi-Lingual support
Sorry my fault, also in ie you can define the locale in your settings
extras-options-languages
Yibing Li wrote:
Usually in the first page, the application can provide a drop-down
list for many different language selection, once it is selected, all the pages
will be shown in that language. How will this feature be included using
struts?
Change the object in the HttpSession
'; [EMAIL PROTECTED]
Subject: RE: Multi-Lingual support
Actually without solving this problem, I am thinking the next question:
Usually in the first page, the application can provide a drop-down
list for many different language selection, once it is selected, all the pages
will be shown
Mailing List
Subject: RE: Multi-Lingual support
Go to Tools/Internet Options...
Click on the Languages button.
If Chinese is on the list move it to the top. If not,
click the Add
button and follow the instructions.
You might also need to restart the browser. We've experienced
some
Hi, Guys,
I followed exactly the suggestions of setting up the
languagues in the browser
but no progress at all. Anything else i can do?
In your JSP pages / action classes, check what's
the locale set in the session object.
session.getAttribute( Action.LOCALE );
to support
multi-lingual?
Thanks,
Yibing
-Original Message-
From: Tero P Paananen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:36 AM
To: Struts Users Mailing List
Subject: RE: Multi-Lingual support
Hi, Guys,
I followed exactly the suggestions of setting up
Subject: Re: Multi-Lingual support
From: Jack Gao [EMAIL PROTECTED]
===
Use session variable Action.LOCALE_KEY, set it to user's selection when user
login, or from user's cookie.
Jack
Yibing Li [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Actually without solving this problem
16 matches
Mail list logo