Set the current language and reset current stored textdomains
Usage
$languageTranslator->setCurrentLanguage(Language $language);
Arguments
Name | Type(s) | Description |
---|---|---|
language | Language |
Return value
$this
Object instance it was called from (method supports fluent interface).
LanguageTranslator methods and properties
API reference based on ProcessWire core version 3.0.244