Megamenu: Fix detect language when configuration megamenu