set_languages


Description:

public void set_languages (string[] languages)

Assigns preferred languages for this, setting languages, and overriding language with the first item in the list if there is one.

Note this function is synchronous and ignores errors.

Parameters:

this

the user object to alter.

languages

an array of locale (for example, `en_US.utf8`), or the empty string to use the system default locale