Files
UnrealEngineUWP/Engine/Config/Localization/Category.ini
Jamie Dale 4131da8bf5 Enable collapsing for identical strings in the categories localization target
#jira
#fyi Michelle.Zhao
#rnx

[CL 8041593 by Jamie Dale in Main branch]
2019-08-14 15:27:28 -04:00

64 lines
1.8 KiB
INI

[CommonSettings]
SourcePath=./Content/Localization/Category
DestinationPath=./Content/Localization/Category
ManifestName=Category.manifest
ArchiveName=Category.archive
PortableObjectName=Category.po
PlatformSplitMode=ELocTextPlatformSplitMode::Restricted
NativeCulture=en
CulturesToGenerate=ar
CulturesToGenerate=es
CulturesToGenerate=en
CulturesToGenerate=ja
CulturesToGenerate=ko
CulturesToGenerate=pt-BR
CulturesToGenerate=zh-Hans
;Gather text from metadata
[GatherTextStep0]
CommandletClass=GatherTextFromMetaData
IncludePathFilters=Source/Editor/*
IncludePathFilters=Source/Runtime/*
IncludePathFilters=Source/Developer/*
IncludePathFilters=Plugins/*
ExcludePathFilters=*/NoRedist/*
ExcludePathFilters=*/NotForLicensees/*
InputKeys=Category
OutputNamespaces=UObjectCategory
OutputKeys="{FieldPath}"
ShouldGatherFromEditorOnlyData=true
;Write Manifest
[GatherTextStep1]
CommandletClass=GenerateGatherManifest
;Write Archives
[GatherTextStep2]
CommandletClass=GenerateGatherArchive
bPurgeOldEmptyEntries=true
;Import localized PO files
[GatherTextStep3]
CommandletClass=InternationalizationExport
bImportLoc=true
LocalizedTextCollapseMode=ELocalizedTextCollapseMode::IdenticalNamespaceAndSource
;Write Localized Text Resource
[GatherTextStep4]
CommandletClass=GenerateTextLocalizationResource
ResourceName=Category.locres
;Export to PO files
[GatherTextStep5]
CommandletClass=InternationalizationExport
bExportLoc=true
LocalizedTextCollapseMode=ELocalizedTextCollapseMode::IdenticalNamespaceAndSource
;Write Text Localization Report
[GatherTextStep6]
CommandletClass=GenerateTextLocalizationReport
DestinationPath=\\epicgames.net\root\UE3\Localization\WordCounts
bWordCountReport=true
WordCountReportName=Category.csv
bConflictReport=true
ConflictReportName=CategoryConflicts.txt