utils_posix_locale_to_bcp47


Description:


public string utils_posix_locale_to_bcp47 (string locale)

Converts a POSIX locale string to the corresponding IETF BCP47 format.

If the given locale is already in BCP47 format, no change will be done.

Returns:

A locale string, free with g_free


Namespace: AppStream
Package: appstream