lightbeam-we
lightbeam-we copied to clipboard
Lightbeam should be localizable
It should be possible to localize Lightbeam in different languages. Even if you only offer English translations, the community could provide other translations.
@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.
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.
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 ;-)