FPortableObjectFormatDOM::SetLanguage

Sets the language.

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
(
    const [FString](API\Runtime\Core\Containers\FString) & LanguageCode,
    const [FString](API\Runtime\Core\Containers\FString) & LangPluralForms
)

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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library