Determining console location

In case you need to retrieve the country that the console is set in, independent of the package manifest, you can use the GetUserDefaultGeoName API. The "User" in this case is simply the signed-in session. This API actually retrieves the location that the console is set in.

Note

The GetUserDefaultGeoName is useful for determining the country of origin when the language/locale returned by GetUserDefaultLocaleName is "en-GB." For simplification, the locale name for several countries indicates that the language is the English language as written and spoken in the United Kingdom (UK). These countries include Saudi Arabia, United Arab Emirates, Czech Republic, Hungary, Slovakia, and Greece.

See also

GetUserDefaultGeoName

GetUserDefaultLocaleName

Localization and globalization