Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Internationalization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Internationalization/ILocalizedTextSource.h |
| Include | #include "Internationalization/ILocalizedTextSource.h" |
Syntax
class ILocalizedTextSource
Remarks
Interface for a localized text source. These can be registered with the text localization manager, and provide an extensible way to inject localized text to UE4.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetLocalizedCultureNames
(
const ELocalizationLoadFlags InLoadFlags, |
Populate a list of culture names that this localized text source has resource data for (ELocalizationLoadFlags controls which resources should be checked). | |
| bool | GetNativeCultureName
(
const ELocalizedTextSourceCategory InCategory, |
Given a localization category, get the native culture for the category (if known). | |
| int32 | GetPriority () |
Get the priority of this source when building the complete list of translations to apply (higher numbers have a higher priority). | |
| void | LoadLocalizedResources
(
const ELocalizationLoadFlags InLoadFlags, |
Load the localized resources from this localized text source for the given cultures into the given maps (ELocalizationLoadFlags controls which resources should be loaded). | |
| EQueryLocalizedResourceResult | QueryLocalizedResource
(
const ELocalizationLoadFlags InLoadFlags, |
Query a localized resource from this localized text source for the given cultures and ID into the given maps (ELocalizationLoadFlags controls which resources should be queried). | |
| bool | ShouldLoadAdditional
(
const ELocalizationLoadFlags InLoadFlags |
Should we load additional (eg, plugin) data based on the given load flags and environment? | |
| bool | ShouldLoadEditor
(
const ELocalizationLoadFlags InLoadFlags |
Should we load editor data based on the given load flags and environment? | |
| bool | ShouldLoadEngine
(
const ELocalizationLoadFlags InLoadFlags |
Should we load engine data based on the given load flags and environment? | |
| bool | ShouldLoadGame
(
const ELocalizationLoadFlags InLoadFlags |
Should we load game data based on the given load flags and environment? | |
| bool | ShouldLoadNative
(
const ELocalizationLoadFlags InLoadFlags |
Should we load native data based on the given load flags and environment? | |
| bool | ShouldLoadNativeGameData
(
const ELocalizationLoadFlags InLoadFlags |
Should we load native game data based on the given load flags and environment? |