Closed Bug 943528 Opened 6 years ago Closed 3 years ago

[dev] Add MNC / MCC, Region & Language Controls to FxOS Simulator

Categories

(Tracking :: User Story, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cgalimidi, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [see comment 6], [status:planned])

User Story

I am an in-country regional operator working on the local launch of a FxOS device. I would like to see what Marketplace will look like on that device in the local language, to the local region, on the particular carrier network where the launch is taking place. I have no device or access to SIM card and expect to use my desktop to see the current state of Marketplace for my particular launch.

I am an employee of an operator working on the local launch of a FxOS device.  I work at the corporate headquarters in a different country / region than the device launch. I would like to see what Marketplace will look like on that device in the local language, to the local region, on the particular carrier network where the launch is taking place. I have no device or access to SIM card and expect to use my desktop to see the current state of Marketplace for my particular launch.

I am an employee of Mozilla in QA / Dev...
I am a QA / Dev community member...
I am a localizer in the Mozilla community...
Operators / OEMs would like to see what the Marketplace is going to look like on device (but they do not have a SIM)

Internal & External QA and Devs at Mozilla need to see what Marketplace will look like on device, but have no SIMs specific to the region
User Story: (updated)
User Story: (updated)
MNC/MCC is important.  Language is already in the settings for the device.  "Region" is determined by IP so that may be a separate, broader, harder bug to fake location data.
re: language
- we have to assume the people previewing have no access to device and no SIM (thus the need for simulator)

what the business user wants to see is
- what does it look like in my language? (does the simulator have this setting?)
- what does it look like to the people who will be the phone in Country XX? (will MNC/MCC give me that?)
At the simulator level, we can change the language used in the Gaia interface, we can also change the accepted language in the HTTP headers. We can certainly override the MNC & MCC used by the Market Place.

Wil, you say that the Market Place use the IP to determine the region, I've heard that you also use the sim card:

Trust SIM region over user's saved region (bug 943020) : https://github.com/mozilla/fireplace/commit/41ac87c8fa6cbd79841b62bd516eb1cfe67e573b
Paul - you are right.  Chuck tells me we set by SIM if available and fallback to IP so that would be great to be able to adjust in the simulator as well.
Blocks: perf-kanban
Blocks: AppManager-Kanban
No longer blocks: perf-kanban
This story is way too big and needs to be split into at least two. Having developers be able to simulate localizations on the simulator is one story, but having biz dev simulate localization on an actual phone is a completely different story that would probably be worked on by different teams. So I will create a user story under developer Tools :: User Stories. (Waiting until the new user story field is live.)
Axel and I talked on IRC.  To clarify this bug:

- This is 100% simulator, nothing with real devices
- Caitlin: I removed your biz dev use case.  Adjusting these parameters on a device is completely different than on a simulator.
- Being able to adjust MCC/MNC values in the simulator will solve this bug.  Anything to do with language of the gaia interface or the accept-lang header is unnecessary for this bug (although a cool idea, and I'd suggest breaking it out).

To close this bug we could literally have two text boxes which would accept numbers to replace the mcc/mnc in Navigator.MozMobileConnection's responses (MozMobileNetworkInfo is what I know, there may be others).

https://developer.mozilla.org/en-US/docs/Web/API/MozMobileConnection
https://developer.mozilla.org/en-US/docs/Web/API/MozMobileNetworkInfo
User Story: (updated)
Depends on: 946648
Whiteboard: [see comment 6]
Depends on: 989926
No longer depends on: 946648
Depends on: 1002463
Depends on: 1038606
Whiteboard: [see comment 6] → [see comment 6], [status:planned]
Blocks: 1044000
No longer blocks: 1044000
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.