[wp-hackers] Localizing custom menues (nav-menus.php)

Mario Peshev mario at peshev.net
Fri Apr 27 19:45:56 UTC 2012


Since the Custom Menus are actually "Custom", i.e. they can't be hardcoded
as they depend on user input, I think that you should rely on some
translation plugin here for the content itself.

WPML guide on custom menu translation -
http://wpml.org/documentation/getting-started-guide/translating-menus/

I've seen qTranslate handling this as well, but not sure if it happens
without coding.

Mario Peshev
Training and Consulting Services @ DevriX
http://www.linkedin.com/in/mpeshev
http://devrix.com
http://peshev.net/blog



On Fri, Apr 27, 2012 at 8:45 PM, mailapera <mailapera at gmail.com> wrote:

> Hi,
> WP has introduced custom menus since 3.X (I believe), which are
> located at this URL in the installation nav-menus.php
>
> The problem is that when I try localizing my theme I get stuck on the
> custom menu words. Since they are stored in the DB as text, a php
> funtion like <?php _e('Home', my_theme); ?> doesn't work.
>
> I could not find any documentation on custom menus localization. How
> do you do it?
>
> Thanks!
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list