For which regions see stories, we generally control this via this pref: https://firefox-source-docs.mozilla.org/browser/components/newtab/docs/v2-system-addon/preferences.html#browser-newtabpage-activity-stream-discoverystream-region-stories-config This pref is a csv of regions we want stories on, it's pretty simple. The bit in that doc that makes this a little complex, and why we still have a bit of hard coded bits in this, is the bit that says "then looks for a matching locale". What "then looks for a matching locale" means is, when we want to turn on stories for US, we don't want to turn on stories for US for users using a non English browser. The existing list is this: https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/ActivityStream.jsm#614 Also documented here: https://docs.google.com/document/d/1omclr-eETJ7zAWTMI7mvvsc3_-ns2Iiho4jPEfrmZfo/edit We need to be able to map the locales supported by the regions. Right now that is hard coded, and a limited list. We right now could add in a bunch of regions and just not use them until we are ready.
Bug 1625283 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For which regions see stories, we generally control this via this pref: https://firefox-source-docs.mozilla.org/browser/components/newtab/docs/v2-system-addon/preferences.html#browser-newtabpage-activity-stream-discoverystream-region-stories-config This pref is a csv of regions we want stories on, it's pretty simple. The bit in that doc that makes this a little complex, and why we still have a bit of hard coded bits in this, is the bit that says "then looks for a matching locale". What "then looks for a matching locale" means is, when we want to turn on stories for US, we don't want to turn on stories for US for users using a non English browser. (as an example, but isn't the only case) The existing list is this: https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/ActivityStream.jsm#614 Also documented here: https://docs.google.com/document/d/1omclr-eETJ7zAWTMI7mvvsc3_-ns2Iiho4jPEfrmZfo/edit We need to be able to map the locales supported by the regions. Right now that is hard coded, and a limited list. We right now could add in a bunch of regions and just not use them until we are ready.