Localize

class uetools.commands.editor.localize.LocalEditor[source]

Generate localization files for your unreal project

project

Project we are generating localization for

Type:

str

run

Name of the localization commandlet to run

Type:

str

target

Localization target (defaults to the project name)

Type:

str

SCCProvider

Source control provider

Type:

bool

EnableSCC

enable source control

Type:

bool

DisableSCCSubmit

Disable submitting to source control

Type:

bool

Unattended

Don’t ask for user input

Type:

bool

NoShaderCompile

Prevent shader compilation

Type:

bool

multiprocess

Use multiple threads to gather text

Type:

bool

ReportStaleGatherCache

Generates a StaleGatherCacheReport.txt file alongside the manifest for your localization target. This file contains a list of any Assets that contain a stale gather cache.

Type:

bool

FixStaleGatherCache

Attempts to automatically fix any Assets that contain a stale gather cache, by re-saving them.

Type:

bool

FixMissingGatherCache

For Assets too old to have a gather cache, this attempts to automatically fix Assets that are missing a gather cache by re-saving them.

Type:

bool

Examples

uecli local --project RTSGame --run GatherText --target RTSGame
name: str = 'localize'
class Arguments[source]

Arguments(project: Optional[str] = None, run: str = ‘GatherText’, target: Optional[str] = None, SCCProvider: Optional[str] = None, EnableSCC: bool = False, DisableSCCSubmit: bool = True, Unattended: bool = True, NoShaderCompile: bool = True, multiprocess: bool = True, ReportStaleGatherCache: bool = False, FixStaleGatherCache: bool = False, FixMissingGatherCache: bool = False, bootstrap: bool = False)

project: str | None = None
run: str = 'GatherText'
target: str | None = None
SCCProvider: str | None = None
EnableSCC: bool = False
DisableSCCSubmit: bool = True
Unattended: bool = True
NoShaderCompile: bool = True
multiprocess: bool = True
ReportStaleGatherCache: bool = False
FixStaleGatherCache: bool = False
FixMissingGatherCache: bool = False
bootstrap: bool = False
static bootstrap(name, target)[source]

Bootstrap localization configuration for your project

static execute(args)[source]

Execute localization gathering

uetools.commands.editor.localize.COMMANDS

alias of LocalEditor