get_language


Description:

[ Version ( since = "0.7.0" ) ]
public int get_language (string? locale)

Gets the translation coverage in percent for a specific locale

Parameters:

this

an Component instance.

locale

the locale, or null. e.g. "en_GB"

Returns:

a percentage value, -1 if locale was not found




2022 vala-language.org