--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
It's correct that the `i18n` API only supports direct substitutions in
manifest.json and CSS files. http://crbug.com/68467 is a bug
requesting for the HTML replacement functionality you're describing,
but I don't believe there are any plans to implement it in the near
future. Starring that bug would be the best way to keep track of any
updates in the future.
In the meantime, `localizePage` which Michael posted looks
interesting, and I've done similar (though simpler) work that simply
walks through an HTML page, and uses the `i18n` API to do
replacements. See
https://github.com/mikewest/Instapaper-Chrome-Extension/blob/master/sendtoinstapaper.js#L240
and https://github.com/mikewest/Instapaper-Chrome-Extension/blob/master/sendtoinstapaper.js#L286-290
Thanks!
-Mike
> --
> You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.
> For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
>
>
- West <mk...@google.com>
Developer Advocate
Google Germany GmbH, Dienerstrasse 12, 80331 München, Germany
Cell: +49 162 10 255 91, Twitter: @mikewest