Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [stellation-res] To what extent should literals be named?

> >-----Original Message-----
> >From: stellation-res-admin@xxxxxxxxxxxxxxx
> >[mailto:stellation-res-admin@xxxxxxxxxxxxxxx]On Behalf Of Dave Shields
> >Sent: September 4, 2002 9:31 AM
> >To: stellation-res@xxxxxxxxxxxxxxx
> >Subject: Re: [stellation-res] To what extent should literals be named?
> >
> >
> >On Wed, Sep 04, 2002 at 06:56:58AM -0400, Jonathan Gossage wrote:
> >>
> >>
> >>
> >> The two areas (commands and options) that you suggested that I
> >look at both
> >> involve strings that are visible outside the program since they name
> >> commands and options that are or can be entered from the
> >command line by a
> >> user. This makes these strings potential candidates for
> >> internationalization. Therefore I propose that we use the java
> >facility for
> >> resource bundles and property files to manage these strings.
> >This, in no
> >> way, commits you to actually do any internationalization, but
> >it facilitates
> >> things if and when you decide to go in this direction.
> >>
> >> With this approach the strings are accessed indirectly using
> >keys that the
> >> Java resoure bundle support uses to lookup the required string
> >based on the
> >> locale in effect. Note that the keys themselves are strings so
> >I will be
> >> providing symbolic definitions for them.
> >>
> >
> >Do what you think best, keeping in mind Mark's observation that
> >"half-measures"
> >in this area can be confusing. It certainly would be nice to
> >start work on
> >eventual internationalization support.
> >
> >I see one of your e-mail addresses ends in 'ca', so along with
> >Ringo we already have
> >at least two international users. I also share some interest in
> >this, as a
> >
> >United Empire Loyalist,
> >dave

My father came from London UK, my mother from New Haven Conn. and I had a
Canadian grandmother. Go figure :-)

Regards

Jonathan

Personal Email
jgossage@xxxxxxxx

Business Email
jonathan@xxxxxxxxxxxxxx



Back to the top