Closed
Bug 1415273
Opened 8 years ago
Closed 6 years ago
[dt-onboarding] Support additional languages for newsletter subscription
Categories
(DevTools :: General, enhancement, P3)
DevTools
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1519018
People
(Reporter: jdescottes, Unassigned)
References
(Blocks 1 open bug)
Details
For now the newsletter subscription doesn't allow users to choose their language. For the 58 beta experiment, we could try and target only english-speaking profiles. But long term we should include a select to let users pick a different language.
See for instance https://www.mozilla.org/fr/firefox/developer/ (bottom of page, focus email field to get the additional options).
Languages proposed on this page for the MD newsletter are:
- id (Bahasa Indonesia)
- de (Deutsch)
- en (English)
- es (Español)
- fr (Français)
- pl (Polski)
- pt (Português)
- ru (Русский)
- zh (正體中文)
Not sure if we can hit a service to know which languages are available or if we have to hardcode it.
Reporter | ||
Comment 1•8 years ago
|
||
Paul: maybe you know: is there a way to get the list of languages supported by a given newsletter?
Also right now I am always sending subscription requests from about:devtools to the en-US URL (https://www.mozilla.org/en-US/newsletter/). Does the URL make any difference here? (compared to using the "fr" URL for instance)
Flags: needinfo?(pmac)
Comment 2•8 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #1)
> Paul: maybe you know: is there a way to get the list of languages supported
> by a given newsletter?
There is indeed:
https://basket.mozilla.org/news/newsletters/
That's a JSON feed of all newsletters and their properties.
> Also right now I am always sending subscription requests from about:devtools
> to the en-US URL (https://www.mozilla.org/en-US/newsletter/). Does the URL
> make any difference here? (compared to using the "fr" URL for instance)
The language in the URL doesn't make a difference when you POST to it. It's there for rendering a GET request with the newsletter subscription form. It will record whatever language you send in the "lang" parameter as long as it's one of the valid ones for the requested newsletter. If you don't send a "lang" it will default to "en".
Flags: needinfo?(pmac)
Updated•7 years ago
|
Product: Firefox → DevTools
Reporter | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•