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?

On Wed, 2002-09-04 at 21:42, Jonathan Gossage wrote:
> 
> 
> > >-----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 :-)

As long as we're swapping international credentials... My wife is
a chinese woman, born in Quebec, raised in Taiwan, and now living in
New York.  My in-laws speak chinese; my nieces and nephews speak hebrew.

I'm just a mono-lingual third generation New Yorker. (Russian Jewish
before that.)

	-Mark


-- 
Mark Craig Chu-Carroll,  IBM T.J. Watson Research Center  
*** The Stellation project: Advanced SCM for Collaboration
***		http://www.eclipse.org/stellation
*** Work Email: mcc@xxxxxxxxxxxxxx  ------- Personal Email:
markcc@xxxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


Back to the top