Manual:$wgLoginLanguageSelector

Details
Set this to true to show a bar of language selection links in the user login and user registration forms. Edit the "llanglinks>MediaWiki:Loginlanguagelinks|loginlanguagelinks" message to customise these options.