Files
UnrealEngineUWP/Engine/Config/Localization/Keywords.ini
leon huang 21b9c036ad Update Engine localization config files to also support German (de), Latin American Spanish (es-419) and French (fr) for localization commandlet.
#rnx
#rb: Jamie.Dale
#jira: none
#preflight: none

[CL 22470455 by leon huang in ue5-main branch]
2022-10-11 20:52:50 -04:00

64 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=en
CulturesToGenerate=de
CulturesToGenerate=es
CulturesToGenerate=es-419
CulturesToGenerate=fr
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