Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationManager.h |
Include |
#include "Internationalization/TextLocalizationManager.h" |
class FTextLocalizationManager
Singleton class that manages display strings for FText.
Name | Description | ||
---|---|---|---|
|
OnTextRevisionChangedEvent |
No constructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
AddDisplayString ( |
Attempts to register the specified display string, associating it with the specified namespace and key. |
|
|
CompactDataStructures() |
||
|
ConfigureGameLocalizationPreviewLanguage ( |
Configure the "preview language" setting used for the game localization preview. |
|
|
DisableGameLocalizationPreview() |
Disable the game localization preview. |
|
|
DumpMemoryInfo() |
||
|
EnableGameLocalizationPreview ( |
Enable the game localization preview using the given language, or the native language if the culture name is empty. |
|
|
EnableGameLocalizationPreview() |
Enable the game localization preview using the current "preview language" setting, or the native culture if no "preview language" is set. |
|
|
FTextDisplay... |
FindDisplayString |
Finds and returns the display string with the given namespace and key, if it exists. |
|
FindNamespaceAndKeyFromDisplayString ( |
Finds the namespace and key associated with the specified display string. |
|
|
FTextLocaliz... |
Get() |
Singleton accessor |
|
GetConfiguredGameLocalizationPreviewLanguage() |
Get the configured "preview language" setting used for the game localization preview (if any). |
|
|
FTextDisplay... |
GetDisplayString |
Returns a display string with the given namespace and key. |
|
GetLocalizedCultureNames ( |
Get a list of culture names that we have localized resource data for (ELocalizationLoadFlags controls which resources should be checked). |
|
|
GetLocalRevisionForDisplayString ( |
Attempts to find a local revision history for the given display string. |
|
|
GetLocResID |
If an entry exists for the specified namespace and key, returns true and provides the localization resource identifier from which it was loaded. |
|
|
GetNativeCultureName ( |
Given a localization category, get the native culture for the category (if known). |
|
|
GetTextRevision() |
Returns the current text revision number. |
|
|
IsGameLocalizationPreviewEnabled() |
Is the game localization preview enabled for a non-native language? |
|
|
IsLocalizationLocked() |
Is the localization of this game currently locked? (ie, can it be edited in the UI?). |
|
|
PopAutoEnableGameLocalizationPreview() |
Notify that the game localization preview should no longer automatically enable itself under certain circumstances (such as changing the preview language via the UI) due to a state change (such as PIE ending). |
|
|
PushAutoEnableGameLocalizationPreview() |
Notify that the game localization preview should automatically enable itself under certain circumstances (such as changing the preview language via the UI) due to a state change (such as PIE starting). |
|
|
RefreshResources() |
Reloads resources for the current culture. |
|
|
RegisterPolyglotTextData ( |
Register a polyglot text data with the text localization manager. |
|
|
RegisterPolyglotTextData ( |
Register a polyglot text data with the text localization manager. |
|
|
RegisterTextSource ( |
Register a localized text source with the text localization manager. |
|
|
ShouldGameLocalizationPreviewAutoEnable() |
Should the game localization preview automatically enable itself under certain circumstances? |
|
|
TearDown() |
||
|
UpdateDisplayString ( |
Updates the underlying value of a display string and associates it with a specified namespace and key, then returns true. |
|
|
UpdateFromLocalizationResource ( |
Updates display string entries and adds new display string entries based on localizations found in a specified localization resource. |
|
|
UpdateFromLocalizationResource ( |
Updates display string entries and adds new display string entries based on localizations found in a specified localization resource. |
Name |
Description |
|
---|---|---|
|
FTextRevisionChangedEvent |
Event type for immediately reacting to changes in display strings for text. |
Name |
Description |
---|---|
FDisplayStringLookupTable |
Manages the currently loaded or registered text localizations. |
FNamespaceKeyLookupTable |
Manages the identity associated with a display string, for use in looking up namespace and key from a display string. |