Skip to main content

activate

No overview available.

def activate(
language: string
) - > None

Sets the active translation language for the current session.

Parameters

NameTypeDescription
languagestringThe language code (e.g., 'en', 'fr', 'es') to be used for subsequent translation lookups

Returns

TypeDescription
NoneReturns nothing; the function updates the global translation state.