Skip to the content.

LocalizationX Lite Document

Download and import the Example

Navigate to the main menu and select: Window > LocalizationX Lite

1. Settings

2. Export from Excel Spreadsheets

lxl_tab_excel

  1. Select the Excel file you want to process.
  2. Click the Export All button to process.

3. Export from Google Spreadsheets

lxl_tab_google

3.1. Setup Google Client ID and Client Secret

View instruction here

Copy the Client ID and Client Secret, and paste them into the text boxes.

3.2. Access Google Spreadsheets

Enter the Google Sheet Id. The Google Sheet Id look like this.

https://docs.google.com/spreadsheets/d/[GOOGLE_SHEET_ID]/edit?......

4. Rules in Spreadsheet

Naming Conventions for Localization Sheets:

| idString | relativeId | english | spanish | japan | .... |
| -------- | ---------- | ------- | ------- | ----- | ---- |

For more details, please refer to the example Excel file.

5. How to integration

Download and import the Example

First, open the Excel file at /Assets/LocalizationXLite/Example/Example.xlsx. This file has example data to help you understand how to create Localization sheets

example_excel_file

For the example using Google Sheets, you can view the file here.

5.1. Create folders for exporting files

Create 2 directories to store the files that will be exported:

Example for 2 folders:

5.2. Scripting

Localization.Init();
// Set the language japanese
Localization.CurrentLanguage = "jp";
// Register an action when language changed
Localization.OnLanguageChanged += OnLanguageChanged;

5.3. Creating TextMeshPro Fonts for Extensive Languages

To create TextMeshPro fonts for Japanese, Korean, and Chinese, follow these steps using the respective character set files characters_set_jp, characters_set_ko, and characters_set_cn, which include all characters from the localization sheets:

Fonts to use in this example:

Creating TextMeshPro Fonts:

Create Japanese font

Create Korean font

Create Chinese font

5.4. Loading Localization Using the Addressable Assets System

To utilize this feature, follow these steps:

Build Settings