Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 36153 invoked from network); 26 Nov 2008 23:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 23:06:11 -0000 Received: (qmail 11207 invoked by uid 500); 26 Nov 2008 23:06:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 11176 invoked by uid 500); 26 Nov 2008 23:06:10 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 11165 invoked by uid 99); 26 Nov 2008 23:06:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 15:06:10 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 23:04:41 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss2 with InterScan Message Security Suite; Wed, 26 Nov 2008 17:05:26 -0600 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Nov 2008 17:05:25 -0600 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Nov 2008 17:05:25 -0600 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Wed, 26 Nov 2008 17:05:25 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Wed, 26 Nov 2008 17:05:24 -0600 Subject: RE: Manager app language Thread-Topic: Manager app language Thread-Index: AclPHEZ9lN8cOvhmTIqsv+sIFnXXfAAACueQADvSqSA= Message-ID: <0AAE5AB84B013E45A7B61CB66943C17215A3D84483@USEA-EXCH7.na.uis.unisys.com> References: <492C2007.4070307@ice-sa.com> <0AAE5AB84B013E45A7B61CB66943C17215A3D01B97@USEA-EXCH7.na.uis.unisys.com> <492C2924.1040605@ice-sa.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 26 Nov 2008 23:05:25.0533 (UTC) FILETIME=[7775FCD0:01C9501B] X-Virus-Checked: Checked by ClamAV on apache.org > From: Andr=E9 Warnier [mailto:aw@ice-sa.com] > Subject: Re: Manager app language > But where the h.. does Tomcat or the Manager figure that it needs to > send the "application list" main page in German ? The nice Tomcat folks provided a few language translations of the manager s= trings in LocalStrings[_xx].properties files (buried inside server/webapps/= manager/WEB-INF/lib/catalina-manager.jar). The appropriate one is read up = as a ResourceBundle during manager initialization based on the value of Loc= ale.getDefault(). The default Locale is derived from the user.language sys= tem property, which itself initially comes from LC_xxx variants, if not set= on the command line. The default Locale can be changed on the fly (as can= user.language), but that shouldn't affect message bundles already read in. If Tomcat or the manager app were not restarted before each language change= , I still don't understand how this could happen. I went so far as to modi= fy the manager servlet to change the Locale after each display of the statu= s page (and show the current language), but it still had no effect. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org