[fix] language bug in language menu smarty plugin