Skip to main content

EOS_Platform_SetOverrideLocaleCode

Function EOS_Platform_SetOverrideLocaleCode 

Source
pub unsafe extern "C" fn EOS_Platform_SetOverrideLocaleCode(
    Handle: EOS_HPlatform,
    NewLocaleCode: *const c_char,
) -> EOS_EResult
Expand description

Set the override locale code that the SDK will send to services which require it. This is used for localization. This follows ISO 639.

@return An EOS_EResult that indicates whether the override locale code string was saved.

  • EOS_Success if the locale code was overridden
  • EOS_InvalidParameters if you pass an invalid locale code

@see eos_ecom.h @see EOS_LOCALECODE_MAX_LENGTH