Function

MateDesktopnormalize_locale

since: 1.22

Declaration [src]

char*
mate_normalize_locale (
  const char* locale
)

Description [src]

Gets the normalized locale string in the form [language[_country][.codeset][modifier]] for name.

Available since: 1.22

Parameters

locale

Type: const char*

A locale string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: char*

Normalized locale string. Caller takes ownership.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.