> 
> Hi,
> 
> As per the mail below, I am looking at ways to handle merging of
> localisation properties and had the idea of using sequences of
> resource bundles.
> 
> Does this sound like the correct approach?
> 
> Is this something that would be acceptable in fulcrum/turbine 3?  I
> could submit patches for this.
> 
> I see in fulcrum there is support for multiple resource bundles -
> perhaps a switch to allow this list to be used as a sequence of
> bundles for lookups?
> 
> Alternatively, via a new property which lists the bundle sequence
> to
> be used for default lookup processing.
> 
> The getString methods would then follow the sequence of bundles to
> find a resource, as sketched out below.
> 
> Regards,
> Chris
> 
> 
> --- Chris Kimpton <[EMAIL PROTECTED]> wrote:
> > Date: Tue, 27 Nov 2001 07:58:47 -0800 (PST)
> > From: Chris Kimpton <[EMAIL PROTECTED]>
> > Subject: Localisation - how do we override it...
> > To: [EMAIL PROTECTED]
> > 
> > Hi,
> > 
> > As part of our use of the jetspeed portal, we want to override a
> > few
> > of the jetspeed messages.  That is generally, the messages in the
> > jetspeed properties file are fine - but a few are "Jetspeed"
> > specific
> > and we'd like to replace those with ones more specific to our
> > application.
> > 
> > Obviously we can just take the existing files and amend them -
> > which
> > is what we will do for now, but I'd have thought there is a
> better
> > way to do this...
> > 
> > Perhaps having a sequence of resource bundles to try in order?  I
> > guess the issue is if a string is not found in the most locale
> > specific/first bundle on the list - which one is tried next - the
> > next in sequence or the less specific locale one for the first in
> > sequence.
> > 
> > My initial thoughts are that it should follow the sequence first
> > and
> > only if after looking in all resource bundles specified, should
> it
> > start again in the sequence with a less specific locale...
> > 
> > Looking at the code, this looks like a turbine change - any
> > comments
> > on whether I am off track or if others would use this?
> > 
> > Thanks,
> > Chris
> > 


=====
Need somewhere to Live in London? - Then go to http://freeflats.com

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to