Thread:User talk:Kipmaster/Problem with Personal URL Bar in with Vector Skin

How can I insert Language Selector into Personal_URL Bar? I tried this:

$wgLanguageSelectorLocation = LANGUAGE_SELECTOR_MANUAL;

and after this text in vector.php msg('personaltools') ?>  add  But doesn't work. It said: Catchable fatal error: Argument 1 passed to wfLanguageSelectorHTML must be an instance of Title, none given,

any suggestion?

thx!