webcompat / webcompat-reporter-extensions

Browser extensions to help report site compatibilty issues.
26 stars 21 forks source link

Add support for i18n #91

Closed miketaylr closed 6 years ago

miketaylr commented 6 years ago

Let's start with getting the plumbing to work with just English for right now.

See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/i18n Example addon: https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n

miketaylr commented 6 years ago

https://github.com/webcompat/webcompat-reporter-extensions/blob/master/shared/base.js#L10 is a good string to start with. We can file a separate bug for name and description in manifest.json

Edely commented 6 years ago

Hi. I would like to work on this.

miketaylr commented 6 years ago

Hi. I would like to work on this.

Excellent! Please let me know if you have any questions or get stuck in this issue @Edely!

miketaylr commented 6 years ago

(oops... I used the wrong issue number, please disregard closing this issue!)

miketaylr commented 6 years ago

@Edely don't hesitate to reach out if you have any questions or get stuck, thanks!

Edely commented 6 years ago

Hi, @miketaylr. I've been reading about i18n and tried understand how to integrate itwith this project.

miketaylr commented 6 years ago

Cool! I'm happy to let you figure that out on your own, but if you need some specific pointers on how to get started, just let me know.

Edely commented 6 years ago

@miketaylr I believe I need more specific pointers. After some reading I understand how to use i18n in webpages, but I not sure how to integrate in the project structure.

miketaylr commented 6 years ago

Hi @Edely.

Did you look at the sample web extension repo here: https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n? That should give you some pretty good hints at how to proceed with i18n.getMessage.

MynahMarie commented 6 years ago

@miketaylr If no one is working on this, can I challenge myself with this issue as part of my Outreachy contribution?

Edely commented 6 years ago

I have not been able to work on this issue last days so that's fine by me.

MynahMarie commented 6 years ago

@Edely thanks for clarification!