Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 5488 invoked from network); 2 Jul 2003 13:43:29 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jul 2003 13:43:29 -0000 Received: (qmail 24499 invoked by uid 97); 2 Jul 2003 13:45:53 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 24491 invoked from network); 2 Jul 2003 13:45:53 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 2 Jul 2003 13:45:53 -0000 Received: (qmail 3505 invoked by uid 500); 2 Jul 2003 13:43:04 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 3489 invoked from network); 2 Jul 2003 13:43:03 -0000 Received: from pcp02833531pcs.levtwn01.pa.comcast.net (HELO localhost.localdomain) (68.80.216.199) by daedalus.apache.org with SMTP; 2 Jul 2003 13:43:03 -0000 Received: from localhost.localdomain (hvar [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.5) with ESMTP id h62Dh5Ob004130 for ; Wed, 2 Jul 2003 09:43:05 -0400 Received: (from mail@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h62Dh5SQ004128 for struts-user@jakarta.apache.org; Wed, 2 Jul 2003 09:43:05 -0400 X-Authentication-Warning: localhost.localdomain: mail set sender to struts-user-account@basebeans.net using -f To: struts-user@jakarta.apache.org X-Injected-Via-Gmane: http://gmane.org/ Received: from localhost.localdomain (hvar [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.5) with ESMTP id h62Dh4Ob004123 for ; Wed, 2 Jul 2003 09:43:04 -0400 Received: (from news@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h62Dh4eF004121 for Struts@basebeans.net; Wed, 2 Jul 2003 09:43:04 -0400 Path: not-for-mail From: Vic Cekvenich Subject: Re: Internationalization on a larger scale. Date: Wed, 02 Jul 2003 09:43:02 -0400 Organization: baseBeans Engineering Lines: 235 Message-ID: <3F02E166.2000401@baseBeans.com> References: NNTP-Posting-Host: pcp02833531pcs.levtwn01.pa.comcast.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------050902070707000006080400" X-Trace: localhost.localdomain 1057153384 4055 68.80.216.199 (2 Jul 2003 13:43:04 GMT) X-Complaints-To: news@news.basebeans.net NNTP-Posting-Date: Wed, 2 Jul 2003 13:43:04 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------050902070707000006080400 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit There is a DB driven resource bundle on struts.sf.net. Sebastien Flacher wrote: >Hi Linus, > > > >>As a single textfile is used, when there are several thousand entries it >>will become difficult to manage. >> >> > >this link has details on Resource Bundles inheritance >http://developer.java.sun.com/developer/technicalArticles/Intl/ResourceBundles/ > >So far I find the Struts framework pretty good in terms of response time >on JSP pages loaded with >I am not sure about the implementation details. > >If the Locales you need at contained into ISO-8859-1 >you shouldn't have much problems. > >If not, both reading incoming Form data & outputing dynamic >has interesting challenges. >Let me know if you need help with these. > >Seb. > > >"Linus Nikander" wrote in message >news:bdu24r$4ct$1@localhost.localdomain... > > >>I'm pretty new to Struts usage so it might be i'm overlooking an obvious >>solution to this. The thing I've been looking at Internationalization >> >> >issues > > >>concerned with Struts. The thought of being able to change the whole >>language of a site simply by changing the locale of the user really >> >> >appeals > > >>to me. All examples i've seen so far use parallel versions of the >>ApplicationResources.properties file to accomplish this. Whilst this may >> >> >be > > >>feasibel for a fairly small site I don't see how this solution would hold >> >> >up > > >>for a large site (with serveral hundred concurrent requests to anyone of >>several thousand pages). >> >>The problems/questions I can see are: >> >>As a single textfile is used, when there are several thousand entries it >>will become difficult to manage. >>Can updates be made, during operation, to the contets. What happens if a >>user requests the files content while it is being edited ? >>Is the textfile cached for performance, or will concurrent calls compete >> >> >for > > >>the same file-resource ? >> >>As I'm probably not the first person who is trying to use Struts on a >> >> >larger > > >>scale for internationalization issues I thought someone might have a >> >> >better > > >>solution. Suggestions ? >> >>//Linus Nikander - linus@nikander.net >> >> -- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA Advanced Struts Training and project recovery in North East. Open Source Content Management basicPortal sofware Best practiceStruts Support v.1.1 helper ScafflodingXPress --------------050902070707000006080400--