tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oded Arbel <o...@m-wise.com>
Subject Re: autogenerating resource for taglibs-i18n
Date Tue, 10 Jan 2006 11:36:12 GMT
On Tuesday, 10 בJanuary 2006 13:34, Oded Arbel wrote:
> On Tuesday, 10 �‘January 2006 01:27, Rahul Akolkar wrote:
> > On 1/9/06, Oded Arbel <oded@m-wise.com> wrote:
> > > Hi guys.
> > >
> > > I've started to use taglibs-i18n in my project, and I was
> > > wandering if its possible to automatically generate the base
> > > resource files for taglibs-i18n's <i18n:bundle> automatically
> > > from my JSP files ?
> >
> > <snip/>
> >
> > Oded -
> >
> > A base resource file is usually a straight copy of the one for your
> > most prevalent locale for your user base. It seems I've
> > misunderstood the question, please explain what "automatic
> > generation from JSPs" is, what is being generated and how that ties
> > to the i18n:bundle tag.
>
> I'm writing a new application and do not have a resource bundle for
> that application, either a locale one or a base. I'm actually adding
> keys and text as I go.
>
> Currently I have to add everything twice: once in the source code
> that calls the i18n routines, and once in the resource bundle.
> I want to eliminate the extra step and just edit the code and have
> something that automatically generates the resource bundles (base or
> locale) for me.

Something like what xgettext does for gnu-gettext.

-- 
Oded Arbel
m-Wise mobile solutions
oded@m-wise.com

+972-9-9611212 (204)
+972-54-7340014

::..
"The first alteration I would suggest is to change the spelling of 
netiquette because it is just too difficult." 
	-- Stephen Boursy, alt.culture.usenet 

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message