Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 79023 invoked from network); 20 Jan 2006 11:29:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 11:29:56 -0000 Received: (qmail 18149 invoked by uid 500); 20 Jan 2006 11:29:53 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 18119 invoked by uid 500); 20 Jan 2006 11:29:52 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 18108 invoked by uid 99); 20 Jan 2006 11:29:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 03:29:52 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of philip.donaghy@gmail.com designates 66.249.92.195 as permitted sender) Received: from [66.249.92.195] (HELO uproxy.gmail.com) (66.249.92.195) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 03:29:51 -0800 Received: by uproxy.gmail.com with SMTP id q2so164637uge for ; Fri, 20 Jan 2006 03:29:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V37a4hK2Z+pqqlaxRlAyv2ht1TcE9XpOqVQd6shX3C3FSq9eEYzhJLXluvR2Zpw+7IG9C5G7mTq1L8OiZgf7w6Hg3mhCpL80Tpej+SYirvSb/luyVt2AtomokhizwLPKDrqDUvII4bbS1COsKv3vBXfbarkBDaSS+OZW2u3KfRo= Received: by 10.48.108.7 with SMTP id g7mr130557nfc; Fri, 20 Jan 2006 03:29:27 -0800 (PST) Received: by 10.49.34.11 with HTTP; Fri, 20 Jan 2006 03:29:27 -0800 (PST) Message-ID: Date: Fri, 20 Jan 2006 12:29:27 +0100 From: Philip Mark Donaghy To: Jetspeed Users List Subject: Re: How to change the default location ? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060120021114.12148.qmail@web90210.mail.scd.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I can see that the Interface PortletConfig which is implemented by the class JetspeedPortletConfig is getting the location from the servlet request. Portlets can access this using the Portlet API, ResourceBundle resource =3D getPortletConfig().getResourceBundle(request.getLocale()); If your location is not supported, you need to translate it. The current supported languages are Russian, English, Spanish, French, Japanese, and ca (Canadian?) ;) Philip On 1/20/06, Philip Mark Donaghy wrote: > This is an assumption, but the web apps and portals should detect your > navigators language preference and display in that language. > Furthermore, the portals should display location specific content if a > French user accesses the portal from San Diego, California, the > weather in san diego should be reported, not the weather in Paris, but > this is another issue. > > At ApacheCon we discussed the list of languages. Rather than display > all languages in English, French, Japanese, etc. The language list > should reflect what the user is looking for. English, francais, > , etc. > > On 1/20/06, Philip Mark Donaghy wrote: > > Everything on localization is right here. > > http://portals.apache.org/jetspeed-2/guides/guide-l10n.html > > > > On 1/20/06, Pham Tuan Minh wrote: > > > Hi, > > > Now, the default location is English. > > > Can I change the default location ? How to change it ? > > > Thanks. > > > > > > > > > > > > --------------------------------- > > > > > > What are the most popular cars? Find out at Yahoo! Autos > > > > > > > > > -- > > Philip Donaghy > > donaghy.blogspot.com del.icio.us/donaghy/philip > > Skype: philipmarkdonaghy > > Office: +33 5 56 60 88 02 > > Mobile: +33 6 20 83 22 62 > > > > > -- > Philip Donaghy > donaghy.blogspot.com del.icio.us/donaghy/philip > Skype: philipmarkdonaghy > Office: +33 5 56 60 88 02 > Mobile: +33 6 20 83 22 62 > -- Philip Donaghy donaghy.blogspot.com del.icio.us/donaghy/philip Skype: philipmarkdonaghy Office: +33 5 56 60 88 02 Mobile: +33 6 20 83 22 62 --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org