Skip to main content

l10n.get

Overview

  • Resolves StringTable text IDs to localized strings. Pass 'key' for single or 'keys' (JSON array) for batch.

Metadata

FieldValue
DisplayLocalize Text IDs
Categoryl10n
AccessPublic
ScopeB1Standalone
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
keystringnoSingle text ID to resolve
keysstringnoJSON array of text IDs, e.g. ["id1","id2"]

Returns

  • Freeform result (shape is not fixed).

Object whose keys are the requested text IDs and values are the localized strings (dynamic keys).

Usage

await inzoi.cli.execute('l10n.get', {
key: '', // optional
keys: '', // optional
});