set_context_locale


Description:

public void set_context_locale (string locale)

Set the active locale on the context assoaiacted with this component, creating a new context for the component if none exists yet.

Please not that this will flip the locale of all other components and entities that use the same context as well! This function is just a convenience method, and does not replace proper Context management.

Parameters:

this

a Component instance.

locale

the new locale.