David Pollak <[email protected]> writes: > On Mon, Mar 1, 2010 at 8:27 AM, Jim Barrows <[email protected]> wrote: > >> >> On Mon, Mar 1, 2010 at 7:19 AM, Jeppe Nejsum Madsen <[email protected]>wrote: >> >>> Hi, >>> >>> In the interest of cutting boilerplate from mapped objects, I would >>> like to get the display name from a property file. >>> >> >> So your replacing code boilerplate with property file boilerplate? The >> boilerplate has to go somewhere, and abstracting things like this out >> doesn't change that. On the other hand, if you have to l10n your app, then >> this works. >> >> What about turning it off by default, and turned on in Boot though. Also >> it should probably use the existing method by default, rolling to the >> property file if it's turned on and it's not provided. >> > > Yeah... I gotta say, the less stuff that winds up outside Scala by default, > the better.
Well, you probably have the luxury of not having to localize your apps. Unfortunately, I don't :-( But I'm interested if you know of better ways to handle i18n for things like displayName. /Jeppe -- 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.
