get_language
Description:
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 |