better exception handling

Jesus Rodriguez jesusr at redhat.com
Tue Apr 13 13:34:22 UTC 2010


On Tue, Apr 13, 2010 at 09:15:31AM -0400, James Bowes wrote:
> On Tue, Apr 13, 2010 at 09:06:06AM -0400, Bryan Kearney wrote:
> <snip> 
> > What is the latest and greatest i18n framework? Perhaps there is a 
> > better way. Guice is frickn voodoo.. so there may be a magic way for 
> > guice to do it.
> >
> 
> I like any of the ports of gnu gettext. IMO having the en_us string
> right in the code is much nicer than a key into a resource bundle.
> gettext-commons[1] looks pretty good.

keys don't have to be namespaces when using resource bundles.
That was done mostly to identify where the string came from
i.e. button.jsp.edit vs Edit.  

But agreed, gettext-commons does look neat. Though like gettext
in python & ruby, there *IS* a seperate build step to creating
the bundles i..e .po files.

http://bit.ly/djrN9J

For cli and rpm builds this is *NOT* an issue. But will this
have any impact on eclipse? since things done in the cli build
step aren't usually done in eclipse.

All in all, it looks kinda nice.

jesus

-- 
jesus m. rodriguez          | jesusr at redhat.com
principal software engineer | irc: zeus
red hat systems management  | 919.754.4413 (w)
rhce # 805008586930012      | 919.623.0080 (c)
+---------------------------------------------+
|   "Those who cannot remember the past       |
|    are condemned to repeat it."             |
|                        -- George Santayana  |
+---------------------------------------------+




More information about the candlepin mailing list