Re:Ask HN: Screenshot Saturday
by arthurk on Sunday April 27, 2014 @03:40AM
(#7654300)
this looks very nice! is it possible to translate messages that only show in specific use-cases (for example error messages)?
[ Parent
| on HN ]
Yes! Localize.js watches the page for changes, and immediately translates text that is added to the page (like an error message).
You can also translate text manually, like this: Localize.translate('Hello!');