On Feb 24, 10:16 pm, Tim Perrett <[email protected]> wrote:
> Guys,
>
> Just looking for a sanity check. Im planning out some database
> localization stuff that I need to implement to localize a system... Im
> not concerned with currency or other such fun localization problems,
> simply localizing text in my database.
>
> Right now, im thinking of just creating a custom ResourceBundle and
> having it populated by / accessing content that i'll hold in an in-
> memory LRU cache (something like net.liftweb.util.KeyedCache). As I
> wont need to worry about other issues like currency, im guessing that
> if I add this LiftRules.resourceNames then lift will look at it for
> localized content?

LiftRules.resourceNames is just a list of strings and if you abstract
the ResourceBundle it can have a slightly different semantic then
right now where we use the ResourceBundle in the "traditional" way. It
the DB context those names can act as a "namespace".

>
> Is their any hope of such a simplistic scheme working or have I just
> been awake too long today?!
>
> Cheers
>
> Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to