Files
UnrealEngineUWP/Engine/Config/Localization/PropertyNames.ini

49 lines
1.2 KiB
INI

[CommonSettings]
SourcePath=./Content/Localization/PropertyNames
DestinationPath=./Content/Localization/PropertyNames
ManifestName=PropertyNames.manifest
ArchiveName=PropertyNames.archive
PortableObjectName=PropertyNames.po
SourceCulture=en
CulturesToGenerate=es
CulturesToGenerate=en
CulturesToGenerate=ja
CulturesToGenerate=ko
CulturesToGenerate=pt-BR
CulturesToGenerate=zh-Hans-CN
;Gather text from metadata
[GatherTextStep0]
CommandletClass=GatherTextFromMetaData
IncludePaths=./Source/Editor/*
IncludePaths=./Source/Runtime/*
IncludePaths=./Source/Developer/*
ExcludePaths=*/Config/Localization/*
ExcludePaths=*/Source/Developer/NoRedist/CommunityPortalServices/*
InputKeys=DisplayName
OutputNamespaces=UObjectDisplayNames
OutputKeys="{FieldPath}"
;Write Manifest
[GatherTextStep1]
CommandletClass=GenerateGatherManifest
;Write Archives
[GatherTextStep2]
CommandletClass=GenerateGatherArchive
bPurgeOldEmptyEntries=true
;Import localized PO files
[GatherTextStep3]
CommandletClass=InternationalizationExport
bImportLoc=true
;Write Localized Text Resource
[GatherTextStep4]
CommandletClass=GenerateTextLocalizationResource
ResourceName=PropertyNames.locres
;Export to PO files
[GatherTextStep5]
CommandletClass=InternationalizationExport
bExportLoc=true