> ## 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

XSAPI 全体で使用されるロケールをオーバーライドします。設定されていない場合、既定では OS のロケールが使用されます。

## 構文

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

### パラメーター

*overrideLocale*   \_In\_\
型: char

使用するオーバーライド ロケール。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻りコード。

## 要件

**ヘッダー:** xbox\_live\_global\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [XblSetOverrideConfiguration](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblsetoverrideconfiguration.md)
- [XPackageGetUserLocale](/ja-jp/reference/system/xpackage/functions/xpackagegetuserlocale.md)
- [title_data_override_deleted](/ja-jp/services/playfab/api-references/events/TitleData/title-data-override-deleted.md)
- [PFCatalogCatalogPriceOverride](/ja-jp/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogcatalogpriceoverride.md)
- [サポートされる NLS 関数](/ja-jp/build/game-principles/localization/supported-nls-apis.md)
