lightbeam-we icon indicating copy to clipboard operation
lightbeam-we copied to clipboard

Lightbeam should be localizable

Open cadeyrn opened this issue 6 years ago • 3 comments

It should be possible to localize Lightbeam in different languages. Even if you only offer English translations, the community could provide other translations.

cadeyrn avatar Oct 01 '17 13:10 cadeyrn

@cadeyrn Thank you for the feedback. Localisation is there in the roadmap and we plan to implement it soon. Primarily, Lightbeam is to educate the public about privacy and having localised content is strongly recommended.

Let me know if you are interested in this and we can collaborate on getting this implemented.

princiya avatar Oct 02 '17 15:10 princiya

Great to hear!

Let me know if you are interested in this and we can collaborate on getting this implemented.

Is there already a "Mozilla way" to localize HTML files in the WebExtension world?

In my WebExtensions I include this file: https://github.com/cadeyrn/newtaboverride/blob/master/src/js/lib/i18n.js

And then I can use "MSG_langvar__" to get the translation of "langvar", example HTML file: https://github.com/cadeyrn/newtaboverride/blob/master/src/html/options.html

Do you know a better way?

In https://github.com/mozilla/lightbeam-we/blob/master/src/first-run.html there is HTML within the text. I think this is not yet handled by my solution.

cadeyrn avatar Oct 02 '17 15:10 cadeyrn

Quoting myself from a dupe issue:

I've found out this extension is not l10n friendly and can't be localized. It would be great to be l10n ready so we can localize in many other languages to extend its reach ;-)

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Internationalization

Context: I'm running a research on addons and localization to inform a campaign at Mozilla Open Innovation team and Lightbeam was one of the extensions in our radar ;-)

nukeador avatar May 07 '18 18:05 nukeador