Issue #1830756 by mordonez | jiapei100: Notice: Undefined index: i18n_mode() in i18n_menu_item_get_language()