Dear Sir/Madam,
I am new to Mantis Bug Tracker, I know how to set the default language to the system and individual user, I want to add a language switcher to the login page so that new user can view the message from login page in his language.
Could you please advise how I can do that?
Best regards,
Kelvin.
add language switcher on login page
Moderators: Developer, Contributor
Re: add language switcher on login page
Out of the box, what you ask is not available, you would need to customize the login page (login_page.php )
Having said that, why would you want to do this?
Mantis normally takes the language of the browser so it should come up in his/her language automatically.
/**
* If the language is set to 'auto', the actual language is determined by the
* user agent (web browser) language preference.
* @global string $g_default_language
*/
$g_default_language = 'auto';
Having said that, why would you want to do this?
Mantis normally takes the language of the browser so it should come up in his/her language automatically.
/**
* If the language is set to 'auto', the actual language is determined by the
* user agent (web browser) language preference.
* @global string $g_default_language
*/
$g_default_language = 'auto';