add_language


Description:

[ Version ( since = "0.7.0" ) ]
public void add_language (string? locale, int percentage)

Adds a language to the component.

Parameters:

this

an Component instance.

locale

the BCP47 locale, or null. e.g. "en-GB"

percentage

the percentage completion of the translation, 0 for locales with unknown amount of translation