On 31.03.2010, 3:22 Platonides wrote:
The new Message system should allow passing a Language class representing the language that is to be used. This way, passing $wgContLang instead of a default $wgLang you could get the message in content language.
Already supported:
Message::key( 'foobar' )->inLanguage( $wgContLang ) Message::key( 'foobar' )->inLanguage( 'sq' )