Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/StringTableRegistry.h |
Include | #include "Internationalization/StringTableRegistry.h" |
Syntax
class FStringTableRegistry
Remarks
Singleton registry of known string table instances
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | EnumerateStringTables
(
const TFunctionRef< bool(const FName&, const FStringTableConstRef&)>& InEnumerator |
Enumerate all registered string tables |
![]() ![]() |
FStringTablePtr | FindMutableStringTable
(
const FName InTableId |
Try and find a string table with the given ID |
![]() ![]() |
FStringTableConstPtr | FindStringTable
(
const FName InTableId |
Try and find a string table with the given ID |
![]() ![]() |
UStringTable * | FindStringTableAsset
(
const FName InTableId |
Try and find a string table asset with the given ID |
![]() ![]() |
FStringTableRegistry & | Get () |
Singleton accessor |
![]() ![]() |
FText | Internal_FindLocTableEntry
(
const FName InTableId, |
Internal function called by LOCTABLE to find the entry with by the given key within the given string table (redirects, will load assets if needed, and returns a dummy FText if not found) |
![]() |
void | Internal_LocTableFromFile
(
const FName InTableId, |
Internal function called by LOCTABLE_FROMFILE_X to create and register a FStringTable instance that has been populated from a file |
![]() |
void | Internal_NewLocTable
(
const FName InTableId, |
Internal function called by LOCTABLE_NEW to create and register a new FStringTable instance |
![]() |
void | Internal_SetLocTableEntry
(
const FName InTableId, |
Internal function called by LOCTABLE_SETSTRING to set the entry denoted by the given key to the given source string, within the given string table (table must have been registered already) |
![]() |
void | Internal_SetLocTableEntryMetaData
(
const FName InTableId, |
Internal function called by LOCTABLE_SETMETA to set meta-data for the entry denoted by the given key, within the given string table (table must have been registered already) |
![]() |
void | LogMissingStringTableEntry
(
const FName InTableId, |
Log a missing string table entry (will only log each missing entry once to avoid spam) |
![]() |
void | RegisterStringTable
(
const FName InTableId, |
Register a string table with the given ID |
![]() |
void | UnregisterStringTable
(
const FName InTableId |
Unregister a string table with the given ID |
Typedefs
Name | Description |
---|---|
FLocKeySet | Mapping from a table ID to a set of keys that we've logged warnings for |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | FindTableIdAndKey
(
const FText& InText, |
FindTableIdAndKey is deprecated. Use FTextInspector::GetTableIdAndKey instead. |