decode_language_code


Description:

[ Version ( since = "3.0.3" ) ]
public static string decode_language_code (string lang)

Translates the language code to a human readable format (i.

e. "en_US" -> "English (United States)"). Note: If the iso-codes package is not available, the unchanged code is returned.

Parameters:

lang

The language locale specifier (i.e. "en_US").

Returns:

The translated language specifier. Use g_free to free the returned string after use.