If you need "just" sprintf functionality, there's a nice wrapper
around the Template class in String.interpolate

http://www.prototypejs.org/api/string/interpolate

Best,
-Nicolas


On Dec 30, 2007 1:08 PM, Severin Heiniger <[EMAIL PROTECTED]> wrote:
>
> There's already the powerful Template [1] functionality, which covers
> the replacement feature provided by sprintf().
>
> Happy New Year,
> Severin
>
> [1] http://www.prototypejs.org/api/template
>
>
>
> On Dec 30, 2007 3:10 PM, Yanick <[EMAIL PROTECTED]> wrote:
> >
> > .. which brings this thought : why isn't there a sprintf()-like
> > function in Prototype ?
> >
> >
> > On Dec 20, 8:49 pm, Tobie Langel <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > There is no built-in support for I18N.
> > >
> > > However, implementing it in JavaScript is trivial.
> > >
> > > For a pointer on how to do this have a look at this 
> > > articlehttp://24ways.org/2007/javascript-internationalisation
> >
> > >
> > > Best,
> > >
> > > Tobie
> > >
> > > On Dec 21, 2:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi,
> > >
> > > > i am evaluating Prototype for commercial product at my company and
> > > > would like to get more details regarding I18N  support.
> > >
> > > > Can anyone please show me the way?
> > >
> > > > Thanks,
> > >
> > > > SK
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to