Files
UnrealEngineUWP/Engine/Config/Localization/Keywords.ini
Leon Huang 55f9f49684 Localization conflict reports can now be output as .csv files.
- Introduced EConflictReportFormat to determine the output format of the conflicts report.
- Updated the localization .ini files to specify the requested output format.
#jira: UE-143696
#rb: Jamie.Dale, Vincent.Gauthier
#preflight: 62573db00b7c7f0f38c6405b

[CL 19746764 by Leon Huang in ue5-main branch]
2022-04-13 18:08:19 -04:00

62 lines
1.7 KiB
INI

[CommonSettings]
SourcePath=./Content/Localization/Keywords
DestinationPath=./Content/Localization/Keywords
ManifestName=Keywords.manifest
ArchiveName=Keywords.archive
PortableObjectName=Keywords.po
NativeCulture=en
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=Keywords
OutputNamespaces=UObjectKeywords
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
;Write Localized Text Resource
[GatherTextStep4]
CommandletClass=GenerateTextLocalizationResource
ResourceName=Keywords.locres
;Export to PO files
[GatherTextStep5]
CommandletClass=InternationalizationExport
bExportLoc=true
;Write Text Localization Report
[GatherTextStep6]
CommandletClass=GenerateTextLocalizationReport
DestinationPath=\\epicgames.net\root\UE3\Localization\WordCounts
bWordCountReport=true
WordCountReportName=Keywords.csv
bConflictReport=true
ConflictReportFormat=EConflictReportFormat::CSV
; Do not add an extension to the filename. EConflictReportFormat will be used to append the correct extension
ConflictReportName=KeywordsConflicts