FPortableObjectFormatDOM::SetLanguage

Sets the language.

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h

Include

#include "PortableObjectFormatDOM.h"

Source

/Engine/Source/Developer/Localization/Private/PortableObjectFormatDOM.cpp

Syntax

bool SetLanguage
(
    const FString & LanguageCode,
    const FString & LangPluralForms
)

Remarks

Sets the language.

Returns

Returns true if the function was able to successfully set the language code and pair it with a known culture, false otherwise.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss