Quick Start
Get your first localization working in under 5 minutes.
- Right-click in the Project window
- Navigate to Create → KitStack → Lexis → Settings
- Name the asset
LocalizationSettings - Move the asset to
Assets/Resources/folder (create if needed)
Important
The settings file must be in a Resources folder for automatic loading.
Select the
LocalizationSettingsassetIn the Inspector, find Supported Locales
Click + to add locales:
- Set Code:
en(ISO 639-1 code) - Set Display Name:
English - Set Native Name:
English
- Set Code:
Add additional languages (e.g.,
defor German,jafor Japanese)Set the Default Locale to your primary language
Right-click in the Project window
Navigate to Create → KitStack → Lexis → String Table
Name it
MainStringsSelect the asset and set Table ID to
mainIn
LocalizationSettings, add this table to String TablesOpen Tools → KitStack → Lexis → String Table Browser
Select your String Table from the dropdown
Click Add Entry
Enter:
- Key:
greeting - English:
Hello, World! - German:
Hallo, Welt!
- Key:
csharp
using Lexis;
using UnityEngine;
public class LocalizationExample : MonoBehaviour
{
void Start()
{
// Initialize (loads settings from Resources automatically)
Localization.Initialize();
// Get a localized string
string greeting = Localization.Get("greeting");
Debug.Log(greeting); // Output: "Hello, World!" (or localized version)
}
}