also I can imagine that translated templates could have a different
ordering of the message arguments. would we need numbered placeholders?
i.e. %1 %2 %3 instead simply %?

On Thu, Oct 8, 2015, 17:13 James M Snell <[email protected]> wrote:

> Yeah, this is the direction I was thinking but you're right, with the
> current set up it's fairly brittle. I'll see if I can come up with an
> implementation proposal that makes sense without causing too much
> churn.
>
> On Thu, Oct 8, 2015 at 5:18 AM, Yang Guo <[email protected]> wrote:
> > I could imagine an API that changes the message template backing store
> to an
> > embedder-provided address. However, that would require keeping the
> > localization up-to-date in lockstep with v8, as the array indices may
> > change.
> >
> > Yang
> >
> >
> > On Wed, Oct 7, 2015, 16:32 James Snell <[email protected]> wrote:
> >>
> >> Hello there! I'm currently investigating the feasibility of introducing
> >> output localization both to Node and V8. Given that V8 currently hard
> codes
> >> it's messages in messages.h it's certainly a non-trivial task. I'd like
> to
> >> explore (a) if l10n of V8's error messages would be possible and (b) the
> >> most efficient way of doing so.
> >>
> >>
> >> - James
> >>
> >>
> >> (originally had posted here:
> >> https://code.google.com/p/v8/issues/detail?id=4475)
> >>
> >> --
> >> --
> >> v8-dev mailing list
> >> [email protected]
> >> http://groups.google.com/group/v8-dev
> >> ---
> >> You received this message because you are subscribed to the Google
> Groups
> >> "v8-dev" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected].
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > --
> > v8-dev mailing list
> > [email protected]
> > http://groups.google.com/group/v8-dev
> > ---
> > You received this message because you are subscribed to a topic in the
> > Google Groups "v8-dev" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/v8-dev/CzW7k_ot5fQ/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> > [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to