Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 20104 invoked from network); 14 Aug 2009 15:49:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 15:49:18 -0000 Received: (qmail 28020 invoked by uid 500); 14 Aug 2009 15:49:22 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 27958 invoked by uid 500); 14 Aug 2009 15:49:22 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 27948 invoked by uid 99); 14 Aug 2009 15:49:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 15:49:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [202.177.174.130] (HELO imail.spanservices.com) (202.177.174.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 15:49:12 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANgjhUoKCgoB/2dsb2JhbAAIgiIr0QeEGQWBTQ X-IronPort-AV: E=Sophos;i="4.43,381,1246818600"; d="scan'208,217";a="2816595" Received: from unknown (HELO webmail.spanservices.com) ([10.10.10.1]) by imail.spanservices.com with ESMTP; 14 Aug 2009 21:18:53 +0530 Received: from webmail.spanservices.com ([10.10.10.1]) by webmail.spanservices.com ([10.10.10.1]) with mapi; Fri, 14 Aug 2009 21:17:38 +0530 From: BALAJI CRB To: Struts Users Mailing List Date: Fri, 14 Aug 2009 21:17:37 +0530 Subject: RE: Struts2 + I18N Thread-Topic: Struts2 + I18N Thread-Index: Acoc9YC4Ha+SQGa5RQqr7QYfMVI2EwAAaSdA Message-ID: References: <853977.7745.qm@web28515.mail.ukl.yahoo.com> In-Reply-To: <853977.7745.qm@web28515.mail.ukl.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B646244174CB074987D849C82A400C96167DC5023Fwebmailspanse_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B646244174CB074987D849C82A400C96167DC5023Fwebmailspanse_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Use struts.locale=3Den in your struts.properties file. Hope this works. Regards, Balaji C R B -----Original Message----- From: Julien HENRY [mailto:henryju@yahoo.fr] Sent: Friday, August 14, 2009 9:11 PM To: user@struts.apache.org Subject: Struts2 + I18N Hi, In my Struts2 application I have the following language files: default_de.properties default_fr.properties default.properties (contains EN) When I start my application, the application is in French (probably because= JVM default locale is french). Then I tried to change language by appendin= g ?request_locale=3DXX in the URL. Adding ?request_locale=3Dde works fine. All texts are in German. Adding ?request_locale=3Den doesn't work. All texts are in French. I tried to add to struts.xml but no luck. How can I tell Struts that the default.properties file is English? Thanks, Julien DISCLAIMER: This email message and all attachments are confidential and may contain in= formation that is privileged, confidential or exempt from disclosure under applicable la= w. If you are not the intended recipient, you are notified that any dissemination, d= istribution or=20 copying of this email is strictly prohibited. If you have received this e= mail in error,=20 please notify us immediately by return email or to mailadmin@spanservices.c= om and destroy=20 the original message. Opinions, conclusions, and other information in this message that do not= relate to the=20 official business of SPAN, shall be understood to be neither given nor endo= rsed by SPAN. --_000_B646244174CB074987D849C82A400C96167DC5023Fwebmailspanse_--