ADMX Guide

Set the default "share additional operating system region" setting

Category

Computer Configuration > Administrative Templates > Microsoft Edge - Default Settings (users can override)

Scope

Both

Registry Key

HKLM\Software\Policies\Microsoft\Edge\Recommended

Description

This policy controls the default value for the "share additional operating system region" setting in Microsoft Edge. The "share additional operating system region" Microsoft Edge setting controls whether the OS Regional format setting will be shared with the web through the default JavaScript locale. If shared, websites will be able to query the OS Regional format using JavaScript code, for example; "Intl.DateTimeFormat().resolvedOptions().locale". The default value for the setting is "Limited". If you set this policy to "Limited", the OS Regional format will only be shared if its language part matches the Microsoft Edge display language. If you set this policy to "Always", the OS Regional format will always be shared. This value could cause unexpected website behavior if the OS Regional format language is different from the Microsoft Edge display language. For example, if a website uses the JavaScript default locale to format dates, the names of the days and months can be displayed in one language while the surrounding text is displayed in another language. If you set this policy to "Never", the OS Regional format will never be shared. Example 1: In this example the OS Regional format is set to "en-GB" and the browser display language is set to "en-US". Then the OS Regional format will be shared if the policy is set to "Limited", or "Always". Example 2: In this example the OS Regional format is set to "es-MX" and the browser display language is set to "en-US". Then the OS Regional format will be shared if the policy is set to "Always" but will not if the policy is set to "Limited". For more information about this setting, see https://go.microsoft.com/fwlink/?linkid=2222282 Policy options mapping: * Limited (0) = Limited * Always (1) = Always share the OS Regional format * Never (2) = Never share the OS Regional format Use the preceding information when configuring this policy.