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

# PlayFabLocalPlayer.LanguageCode

> Reference for PlayFabLocalPlayer.LanguageCode in the Party Unity SDK, used to get or set the BCP-47 language code applied to the local player's chat control.

# LanguageCode

Gets or sets the language code for the player.

Currently, setting the language will only have effect before creating or joining a Party network.

```csharp theme={null}
public string PlayFabLocalPlayer.LanguageCode { get; set; }
```

## Property Value

LanguageCode

[string](https://learn.microsoft.com/en-us/dotnet/api/system.string?view=netcore-3.1\&preserve-view=true)

The BCP 47 language code associated with the player.


## Related topics

- [Class PlayFabLocalPlayer](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfablocalplayer/index.md)
- [PlayFabLocalPlayer.IsChatControlAvailable](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfablocalplayer/properties/playfabunityischatcontrolavailable.md)
- [PlayFabLocalPlayer.PlatformSpecificUserId](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfablocalplayer/properties/playfabunityplatformspecificuserid.md)
- [PlayFab Party Release Notes](/services/playfab/multiplayer/networking/release-notes.md)
- [PartyLocalChatControl::GetLanguage](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlanguage.md)
