Skip to content

Quick Start

Get your first localization working in under 5 minutes.

  1. Right-click in the Project window
  2. Navigate to Create → KitStack → Lexis → Settings
  3. Name the asset LocalizationSettings
  4. Move the asset to Assets/Resources/ folder (create if needed)

Important

The settings file must be in a Resources folder for automatic loading.

  1. Select the LocalizationSettings asset

  2. In the Inspector, find Supported Locales

  3. Click + to add locales:

    • Set Code: en (ISO 639-1 code)
    • Set Display Name: English
    • Set Native Name: English
  4. Add additional languages (e.g., de for German, ja for Japanese)

  5. Set the Default Locale to your primary language

  6. Right-click in the Project window

  7. Navigate to Create → KitStack → Lexis → String Table

  8. Name it MainStrings

  9. Select the asset and set Table ID to main

  10. In LocalizationSettings, add this table to String Tables

  11. Open Tools → KitStack → Lexis → String Table Browser

  12. Select your String Table from the dropdown

  13. Click Add Entry

  14. Enter:

    • Key: greeting
    • English: Hello, World!
    • German: Hallo, Welt!
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)
    }
}

Professional Unity Development Tools