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 BCP47 locale, or null. e.g. "en-GB"

Returns:

a percentage value, -1 if locale was not found