• Resolved brasofilo

    (@brasofilo)


    it’s quite a pain making custom menus with qtranslate code being displayed in WP interface

    i did the following edit to /wp-admin/includes/nav-menu.php:
    – line 82: from esc_html( $title ); to esc_html( __($title) );

    – line 236: encapsulate $title again with __(), so it’ll be:
    $output .= empty( $item->label ) ? esc_html( __($item->title) ) : esc_html( $item->label );

    now i can actually see what i’m doing with custom menus…
    :o)

    ****how can we incorporate this into qtranslate or WP?****

Viewing 16 replies (of 16 total)
  • Workaround is to go to Appearance > Menu > then click Save Menu, which will update the menus with the new page titles

Viewing 16 replies (of 16 total)
  • The topic ‘[Plugin: qTranslate] Solution: translating nav-menus in admin area’ is closed to new replies.