Skip to content

RequestedLocales

Set the list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.

RequestedLocales accepts either an array of locale codes or a comma-separated string, in order of preference:

  • ["de", "en-US"] as an array.
  • "de,en-US" as a string.

The first locale with an available language pack becomes active. The policy is applied when its value changes, so a user who switches language afterwards is not switched back.

policies.json
{
"policies": {
"RequestedLocales": [
"de",
"en-US"
]
}
}
JSON schema
RequestedLocales JSON schema
{
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
Software\Policies\Mozilla\Firefox\RequestedLocales\1 = "de"
Software\Policies\Mozilla\Firefox\RequestedLocales\2 = "en-US"
or
Software\Policies\Mozilla\Firefox\RequestedLocales = "de,en-US"
<dict>
<key>RequestedLocales</key>
<array>
<string>de</string>
<string>en-US</string>
</array>
</dict>
or
<dict>
<key>RequestedLocales</key>
<string>de,en-US</string>
</dict>
FirefoxFirefox ESRFirefox Enterprise
Available since 64Available since 60.4Available since 149

A string value is accepted from Firefox 68 / Firefox ESR 68, so an empty value ("") can be set. Earlier versions accept only an array.

CCK2 Equivalent: N/A
OMA-URI: RequestedLocales
Preferences Affected: N/A