Files
UnrealEngineUWP/Engine/Source/Developer/Localization/Localization.Build.cs
jamie dale 29a6e09f28 Added base support for UGC localization
UGC localization can be used to provide a simplified localization experience for basic plugins (only providing the PO files to be translated), and is primarily designed for DLC plugins where the UGC localization will be compiled during cook (see UUserGeneratedContentLocalizationSettings).

Support for non-DLC plugins can be provided via project specific tooling built upon this base API.

Support for complex plugins (such as those containing different kinds of modules, eg) a mix of game/engine and editor) are not supported via this API.

#preflight 63c70d2802024f93d87a0e32
#rb Leon.Huang, Dave.Belanger

[CL 23761684 by jamie dale in ue5-main branch]
2023-01-18 14:39:58 -05:00

37 lines
645 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Localization : ModuleRules
{
public Localization(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"DesktopPlatform",
"Slate",
"SlateCore",
"InputCore",
"SourceControl",
"Json",
"JsonUtilities",
"Projects",
}
);
if (Target.Configuration != UnrealTargetConfiguration.Shipping)
{
PrecompileForTargets = PrecompileTargetsType.Any;
}
}
}