Localization.getString(s)
Localization.getString(data, s)

These two methods will always return the "default" bundle which right now is
the file "default.properties".  We can change this so there is a prop in
TurbineResources with something like
local.default.bundle=ARealBundle.properties.  But that ties the convenience
methods in Localization to a *single* props file.

I'm going to take out the two getString() methods in Localization and add
getBundle() methods that correspond to the methods in
TurbineLocalizationService instead.  That way we will just call
Localization.getBundle("MyBundle").getString()

Let me know if there are any problems with this

Frank

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of jon *
> Sent: Sunday, March 12, 2000 1:28 AM
> To: Turbine; Java Apache Jyve
> Subject: Services and Localization Stuff
>
>
> Ok,
>
> I think that I just fixed all the sillyness with the Localization stuff in
> Turbine and Jyve. Take a look at it. Essentially, I made it much
> less typing
> to do localization, cleaned up the stupid getString() methods in the
> Services interface by removing them and implemented this all over Jyve.
>
> I'm pretty happy about this cause it now paves the way to do Services
> correctly...I'm going to spend tomorrow working on this stuff...everything
> within Turbine that isn't a service and should be is going to become a
> Service tomorrow if I can help it...;-)
>
> I'm also planning on spending most of the day adding more
> documentation and
> cleaning stuff up...look for a lot of commits tomorrow. I will also do my
> best to not break any existing code. ;-)
>
> -jon
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to