set_active_locale


Description:

public void set_active_locale (string? locale)

Set the current active locale for this component, which is used to get localized messages.

If the Component was fetched from a localized database, usually only one locale is available.

Parameters:

this

a Component instance.

locale

a POSIX or BCP47 locale, or null. e.g. "en_GB"