[Plugin: qTranslate] Solution: translating nav-menus in admin area
-
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?****
- The topic ‘[Plugin: qTranslate] Solution: translating nav-menus in admin area’ is closed to new replies.