This method will set a cookie for the user's browser to remember what language was selected.
public setLanguage ( string $language, boolean $setLanguageCookie = true ) | ||
$language | string | Language code for the language to set. |
$setLanguageCookie | boolean | Whether to set the language cookie or not. Defaults to true. |