get_language_from_code


Description:

[ CCode ( cname = "gnome_get_language_from_code" ) ]
[ Version ( since = "3.8" ) ]
public string get_language_from_code (string code, string? translation)

Gets the language name for code.

If translation is provided the returned string is translated accordingly.

Parameters:

code

an ISO 639 code string

translation

a locale string

Returns:

the language name. Caller takes ownership.


Namespace: Gnome.Languages