Could you please insert the backward compatibility toolkit instead of created this method ?
You would be able to get the language from the context.
Documentation : http://doc.prestashop.com/display/PS15/Using+the+backward+compatibility+toolkit