Function

AppStream-1.0AppStreamutils_posix_locale_to_bcp47

  • 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.

    Parameters

    • locale: string

    Returns string

    A locale string, free with g_free()