joomla/joomla-cms — pull request #2816 by Bakual (2014-01-18 16:08:25+00:00)
Title: Wrong menu item id is assigned to article links when language filter enabled.  

Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33132

This should return the currently active menu item if its language matches the one needed for the link. Of course only after the search for a specific menu item for the category or article didn't find anything.