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)
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
--
--
v8-dev mailing list
v8-...@googlegroups.com
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 v8-dev+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 %?
Please submit an intent-to-implement once you have a plan how to implement this, so that the whole team can figure out whether we want this in upstream v8. Thanks.
Yang