> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblSetOverrideLocale

> XblSetOverrideLocale

# XblSetOverrideLocale

To override the locale used across XSAPI. If not set, the default is to use the OS locale

## Syntax

```cpp theme={null}
HRESULT XblSetOverrideLocale(  
         char overrideLocale  
)  
```

### Parameters

*overrideLocale*   \_In\_\
Type: char

Override locale to be used

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** xbox\_live\_global\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[xbox\_live\_global\_c](/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members)


## Related topics

- [XblSetOverrideConfiguration](/reference/live/xsapi-c/xbox_live_global_c/functions/xblsetoverrideconfiguration.md)
- [Manage game streaming (xbgamestream.exe)](/tools/tools-console/commandlinetools/xbgamestream.md)
- [Game-supported and unsupported locales](/build/game-principles/localization/game-supported-and-unsupported-locales.md)
- [XblMultiplayerSessionConstantsSetMemberInitialization](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetmemberinitialization.md)
- [Determining console locale and language](/build/game-principles/localization/determining-console-locale.md)
