I haven't taken a look at the I18N code in a while but what you've proposed (a custom ResourceBundle) sounds not only reasonable, but the appropriate method of attack.
Derek On Tue, Feb 24, 2009 at 1: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? > > 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 -~----------~----~----~----~------~----~------~--~---
