Navigation
Unreal Engine C++ API Reference > Developer > Localization > FPortableObjectFormatDOM
References
Module | Localization |
Header | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
Include | #include "PortableObjectFormatDOM.h" |
Source | /Engine/Source/Developer/Localization/Private/PortableObjectFormatDOM.cpp |
bool SetLanguage
&40;
const FString & LanguageCode,
const FString & LangPluralForms
&41;
Remarks
Sets the language. Returns true if the function was able to successfully set the language code and pair it with a known culture, false otherwise.
Parameters
Name | Description |
---|---|
LanguageCode | String representing a Portable Object language code. |
LangPluralForms | Optional plural forms for the language. If not provided, defaults will be used if found. |