get_language_name


Description:


public unowned string get_language_name (string language_code)

Returns the name of the language given an ISO-639 language code as found in a GST_TAG_LANGUAGE_CODE tag.

The name will be translated according to the current locale (if the library was built against the iso-codes package, otherwise the English name will be returned).

Language codes are case-sensitive and expected to be lower case.

Parameters:

language_code

two or three-letter ISO-639 language code

Returns:

language name in UTF-8 format, or NULL if language_code could not be mapped to a language name. The returned string must not be modified and does not need to freed; it will stay valid until the application is terminated.


Namespace: Gst.Tag



2022 vala-language.org