Files
UnrealEngineUWP/Engine/Config/Localization/Category.ini
Michael Schoell db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00

58 lines
1.5 KiB
INI

[CommonSettings]
SourcePath=./Content/Localization/Category
DestinationPath=./Content/Localization/Category
ManifestName=Category.manifest
ArchiveName=Category.archive
PortableObjectName=Category.po
SourceCulture=en
CulturesToGenerate=es
CulturesToGenerate=en
CulturesToGenerate=ja
CulturesToGenerate=ko
CulturesToGenerate=pt-BR
CulturesToGenerate=zh-CN
;Gather text from metadata
[GatherTextStep0]
CommandletClass=GatherTextFromMetaData
IncludePathFilters=Source/Editor/*
IncludePathFilters=Source/Runtime/*
IncludePathFilters=Source/Developer/*
ExcludePathFilters=Config/Localization/*
ExcludePathFilters=Source/Developer/NoRedist/CommunityPortalServices/*
InputKeys=Category
OutputNamespaces=UObjectCategory
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=Category.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=Category.csv
;bConflictReport=true
;ConflictReportName=CategoryConflicts.txt