Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightbeam should be localizable #215

Open
cadeyrn opened this issue Oct 1, 2017 · 3 comments
Open

Lightbeam should be localizable #215

cadeyrn opened this issue Oct 1, 2017 · 3 comments

Comments

@cadeyrn
Copy link

cadeyrn commented Oct 1, 2017

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

@princiya
Copy link
Collaborator

princiya commented Oct 2, 2017

@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.

@cadeyrn
Copy link
Author

cadeyrn commented Oct 2, 2017

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.

@nukeador
Copy link

nukeador commented May 7, 2018

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 ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants