Files
UnrealEngineUWP/Engine/Config/Localization/Keywords.ini
Leon Huang 5047c4ec3b Fix to support backward compatability with localization conflict files. This is to ensure localization config files that still use .txt extensions for their conflict reports will still be supported.
- Detects the extension used for the specified ConflictReportName in the vairous localization config files and generates a formatted report based on the extension.
- Currently only .txt and .csv file extensions are supported.
- We still support .txt for backward compatability.
- If an unsupported file extension is used, the conflict report will default to be generated in .csv
#jira: UE-157555
#rb: Jamie.Dale
#preflight: 62c64a622823f28cf2f3c82c
#rnx

[CL 20980089 by Leon Huang in ue5-main branch]
2022-07-06 23:21:41 -04:00

61 lines
1.6 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
; Different file extensions will output the report in different formats. Currently supported extensions are .txt and .csv
ConflictReportName=KeywordsConflicts.csv