MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetCurrentCulture

Method SetCurrentCulture

Source/Engine/Localization/Localization.cpp:351–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351void Localization::SetCurrentCulture(const CultureInfo& value)
352{
353 if (Instance.CurrentCulture == value)
354 return;
355
356 LOG(Info, "Changing current culture to: {0} ({1})", value.GetName(), value.GetLCID());
357 Instance.CurrentCulture = value;
358 Instance.OnLocalizationChanged();
359}
360
361const CultureInfo& Localization::GetCurrentLanguage()
362{

Callers

nothing calls this directly

Calls 3

GetLCIDMethod · 0.80
GetNameMethod · 0.45
OnLocalizationChangedMethod · 0.45

Tested by

no test coverage detected