-
Notifications
You must be signed in to change notification settings - Fork 3
Home
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.
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
Open Settings
tab, create and assign new Text Key Collection
asset.
Open Languages
tab. Click +
to select language Culture Name and create new Language
.
Select newly created language and add Asset
in Item Collection Providers
list. Create and assign new Text Collection
asset.
Open Texts
tab and create new Key
.
Select newly created key, click +
to add localized value to the corresponding Language
and type localized value.
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.
Assign previously created Key to Key Reference
field.
Hit Play
.
-
KNOT_LOCALIZATION_DISABLE_EXTENSIONS
Disable type extensions like string.Localize