# AddLocaleVariantFile(string, string, string)

> Adds Locale to Variant Group of Xcode Project for iOS platform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.iOS.Xcode](/engine/6000.6/script-reference/unityeditor/ios/xcode.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
public void AddLocaleVariantFile(string groupName, string code, string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the variant group where the Locale will be added.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The identifier of the provided Locale.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path of the directories containing the ‘InfoPlist.string’ files for different locales.
