[wp-hackers] Localizing custom menues (nav-menus.php)
mailapera
mailapera at gmail.com
Fri Apr 27 20:21:29 UTC 2012
Thanks for your reply,
I realize that, but I do not want to use WPML or qtranslate.
Xili-language seems a better one, though I need localization. I can't
figure out why a core function does not include a localization
workaround.
Oh well, I will just do without custom menus.
Thanks!
On Fri, Apr 27, 2012 at 9:45 PM, Mario Peshev <mario at peshev.net> wrote:
> 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
>>
> _______________________________________________
> 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