Skip to content
Gleb edited this page Sep 26, 2024 · 9 revisions

Installation

Download and import package. KnotProjectSettings asset will be created under your root Assets folder upon further interactions. You are able to move this asset to any subfolder in your project.

Creating Database

Open Tools/KNOT/Localization/Database Editor window and create new Database asset as suggested.

You can also create new Database via Create/KNOT/Localization/Database project window context menu

Mark your Database as Default in Edit/Project Settings/KNOT/Localization

gs_13

Adding Key Collection

Open Settings tab, create and assign new Text Key Collection asset.

gs_8

Adding Language

Open Languages tab. Click + to select language Culture Name and create new Language.

gs_5

Adding Text Collection

Select newly created language and add Asset in Item Collection Providers list. Create and assign new Text Collection asset.

gs_6

Adding Text Key

Open Texts tab and create new Key.

gs_9

Select newly created key, click + to add localized value to the corresponding Language and type localized value.

gs_11

Testing

Make sure that your project has Unity UI package installed in Package Manager. Create new Game Object with Unity's native Text component and attach Localized UI Text component.

gs_12

Assign previously created Key to Key Reference field.

gs_14

Hit Play.

Clone this wiki locally