Hi again everybody,
I've been looking and it seems that the code for the language switch option at the index page is as follows
if (empty($CFG->langmenu)) {
$langmenu = "";
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langlabel = get_accesshide(get_string('language'));
$langmenu = popup_form ("$CFG->httpswwwroot/login/index.php?lang=", $langs, "chooselang", $currlang, "", "", "", true, 'self', $langlabel);
}
I've putted at the header, but no luck, I assume I need to modify something in order to make the selector appear.
Thanks.
Re: Quick switch between languages from any page of the site
by Cristobal Gomez -
Number of replies: 0