Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 17330 invoked from network); 9 Jan 2010 09:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2010 09:35:36 -0000 Received: (qmail 40152 invoked by uid 500); 9 Jan 2010 09:35:36 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 40083 invoked by uid 500); 9 Jan 2010 09:35:36 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Delivered-To: moderator for jetspeed-dev@portals.apache.org Received: (qmail 59314 invoked by uid 99); 8 Jan 2010 22:17:27 -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 (athena.apache.org: local policy) From: "Dahl, Sandra" To: "jetspeed-dev@portals.apache.org" Date: Fri, 8 Jan 2010 15:16:58 -0700 Subject: portlet internationalization Thread-Topic: portlet internationalization Thread-Index: AQHKkLBLw/mupTC13kKJm4xsJJVsDg== Message-ID: <85471C1B26954D4D9622A450644A96900182510E2283@m2.TDILAN.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_85471C1B26954D4D9622A450644A96900182510E2283m2TDILANcom_" MIME-Version: 1.0 --_000_85471C1B26954D4D9622A450644A96900182510E2283m2TDILANcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm using Jetspeed 2 and am trying to set the locale for portlets and have = a couple questions. First, I want the title to be loaded from a resource bu= ndle. The following is included in LocalStrings.properties: javax.portlet.title=3DRichfaces Internationalization Portlet javax.portlet.short-title=3DRuichfaces Intl javax.portlet.keywords=3Drichfaces,portlet The resource bundle is declared in portlet.xml along with the allowed local= es: LocalStrings en fr The portlet uses JSF and the following is included in faces-config.xml: en en fr The portlet title is not displayed from the resource bundle. If there no ti= tle is included in portlet.xml, no title is displayed in Jetspeed. Am I mis= sing a setting? Second question. When the language is changed in the browser and the portal= page is reloaed, the new language is not displayed. A new browser window n= eeds to be opened for the changes to appear. Is this how it is supposed to = work? I noticed google updates the language when the browser is refreshed. Thanks! Sandi ________________________________ Confidentiality Notice: The information contained in this communication, including attachments, is = privileged and confidential. It is intended only for the exclusive use of t= he addressee. If the reader is not the intended recipient, or the employee,= or the agent responsible for delivering it to the intended recipient, you = are hereby notified that any dissemination, distribution or copying of this= communication is strictly prohibited. If you have received this communicat= ion in error, please notify us by return email or telephone immediately. Th= ank you. --_000_85471C1B26954D4D9622A450644A96900182510E2283m2TDILANcom_--