RealDocs

UKismetInternationalizationLibrary::IsCultureRightToLeft

function Engine Blueprint Since unknown
#include "Kismet/KismetInternationalizationLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPure

Description

Checks whether a given culture's writing system reads right-to-left (e.g. Arabic, Hebrew), for driving UI mirroring decisions.

Caveats & Gotchas

  • Only reflects the culture's script direction — it does not automatically mirror your UMG layouts; you still need to apply UE's flow direction/mirroring support based on this result.

Signature

static ENGINE_API bool IsCultureRightToLeft(const FString& Culture);

Parameters

Name Type Description Default
Culture const FString& The culture to check, as an IETF language tag.

Return Type

bool

Example

Decide whether to mirror the UI layout C++
const bool bMirror = UKismetInternationalizationLibrary::IsCultureRightToLeft(UKismetInternationalizationLibrary::GetCurrentLanguage());

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.