You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David kerber <dc...@verizon.net> on 2013/03/26 21:48:40 UTC
Internationalizing a TC webapp
This is only peripherally related to tomcat, but it runs in TC 6.0.2x
(don't recall the exact version, and I don't think it matters in this
particular case).
I need to add language translations to my webapp, and am wondering what
the standard or preferred way to store and retrieve the phrases is. Is
it typically done in a database, a resource file, or what? And how is
the indexing done to retrieve the correct one?
Any links you could point me to would be appreciated.
Thanks!
D
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Internationalizing a TC webapp
Posted by David kerber <dc...@verizon.net>.
On 3/26/2013 4:57 PM, Caldarale, Charles R wrote:
>> From: David kerber [mailto:dckerber@verizon.net]
>> Subject: Internationalizing a TC webapp
>
>> I need to add language translations to my webapp, and am wondering what
>> the standard or preferred way to store and retrieve the phrases is. Is
>> it typically done in a database, a resource file, or what? And how is
>> the indexing done to retrieve the correct one?
>
> http://docs.oracle.com/javase/tutorial/i18n/resbundle/index.html
> http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html
>
> You can find numerous examples within the source code of Tomcat.
>
> - Chuck
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Internationalizing a TC webapp
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: David kerber [mailto:dckerber@verizon.net]
> Subject: Internationalizing a TC webapp
> I need to add language translations to my webapp, and am wondering what
> the standard or preferred way to store and retrieve the phrases is. Is
> it typically done in a database, a resource file, or what? And how is
> the indexing done to retrieve the correct one?
http://docs.oracle.com/javase/tutorial/i18n/resbundle/index.html
http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html
You can find numerous examples within the source code of Tomcat.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org