Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Internationalization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationResource.h |
| Include | #include "Internationalization/TextLocalizationResource.h" |
Syntax
class FTextLocalizationResource
Remarks
Utility class for working with Localization Resource (LocRes) files.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FEntriesTable | Entries |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Optimized representation of a case-sensitive string, as used by localization keys. | ||
| void | Add a single entry to this resource. | ||
| void | Optimized representation of a case-sensitive string, as used by localization keys. | ||
| void | Optimized representation of a case-sensitive string, as used by localization keys. | ||
| uint32 | HashString
(
const FString& InStr, |
Utility to produce a hash for a string (as used by SourceStringHash) | |
| uint32 | HashString
(
const TCHAR* InStr, |
Utility to produce a hash for a string (as used by SourceStringHash) | |
| bool | IsEmpty () |
Is this resource empty? | |
| bool | LoadFromArchive
(
FArchive& Archive, |
Load the given LocRes archive into this resource. | |
| void | LoadFromDirectory
(
const FString& DirectoryPath, |
Load all LocRes files in the specified directory into this resource. | |
| bool | LoadFromFile
(
const FString& FilePath, |
Load the given LocRes file into this resource. | |
| bool | SaveToArchive
(
FArchive& Archive, |
Save this resource to the given LocRes archive. | |
| bool | SaveToFile
(
const FString& FilePath |
Save this resource to the given LocRes file. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FTextLocalizationResource & | operator=
(
const FTextLocalizationResource& |
||
| FTextLocalizationResource & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FEntry | Data struct for tracking a localization entry from a localization resource. |
Typedefs
| Name | Description |
|---|---|
| FEntriesTable |