• Resolved Kobaru

    (@kobaru)


    Hello,

    I’m experiencing something really frustrating with this Pluggin.
    I’ve quiet everything settled correctly with Polylang, I created menus and translate my basic pages / articles.
    Everything is working but ONE thing, my menu items points on french pages (I got only french and english).
    The french one works correctly so, but the english menu is just sending back french pages.
    Is there anyway to attribute the correct pages links to the correct menu ?

    Actually I use the “Page” section in menu creation. I could easily use “Permalink” for a rough and quick result, but this is not what I want, I’d like to get relative links so that when I’ll take it from local to online, everything’s working.

    So that I could do it every other time easily, and not typing each page by hand.

    I didn’t figure out how to do that… If there’s any solution I take it

    https://ww.wp.xz.cn/plugins/polylang/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello

    You must tell Polylang that your FR and EN pages/posts are the translation of each other.
    For example with “Bienvenue” and “Welcome”:
    Edit “Bienvenue”. Start typing “Welcome” in the input field in front of the English flag. This is an autocomplete input field. Select the page. The + should be transformed in a pen. Save changes.

    Thread Starter Kobaru

    (@kobaru)

    Sure, my default language is French, so it looks like this : http://puu.sh/gjhtU/b535662426.png

    But it’s still not working properly.

    I’d just like that when I’m in english “mode” my menu sends back english urls.
    But even if I’m on an english page, with menu translated in english, the links in the menu send back to french version of the page 🙁

    EDIT : it was already done, btw, to be clear, I changed nothing actually

    Plugin Support Chrystl

    (@chrystl)

    Could you give to your website?

    Thread Starter Kobaru

    (@kobaru)

    I’ll upload it later (right now I’m at work, working on local)
    But I’ve spotted an other problem, I copied Polylang in the FTP folder plugin, and migrated my DB like I always do, but obviously Polylang need something else…

    Plugin Support Chrystl

    (@chrystl)

    but obviously Polylang need something else…

    Re-save your Polylang settings to reset the cache.

    For your other problem: did you change your menu name? did you assign per menu the right language pages , posts?

    Thread Starter Kobaru

    (@kobaru)

    I think the problem come from here… While I have a translation of my page “Petit déjeuner” per exemple => “Breakfast”
    I can’t link a menu item to the translated version of the page, ’cause it doesn’t exists in my page list !
    So I linked to the “Petit déjeuner” page and renamed the menu item “Breakfast”.
    I don’t get how this could work in anyway, but because I don’t have any other page to link, I don’t see how I could do that…
    The fact is that I COULD use absolute links (ex : “http://www.mysite.com/?p=9” or “[…]/breakfast” but I don’t WANT to do that, for many reasons, the main is that I’ll have to reuse this theme or other websites, and I NEED it to be relative, WITH Polylang.

    Sending the test serveur URL soon

    Thread Starter Kobaru

    (@kobaru)

    Ok this is the URL you asked :

    http://wordpress.holidayinn-strasbourg.fr/

    Plugin Support Chrystl

    (@chrystl)

    I can’t link a menu item to the translated version of the page, ’cause it doesn’t exists in my page list !

    It was before rename your menu?
    Did you have this filter: Filtering the content on backend side ?

    Thread Starter Kobaru

    (@kobaru)

    This was only this …?
    I NEVER noticed this sub menu in WordPress UI. And I’d never thought this would hide pages for such important things as pages in menu page list.
    This is very frustrating, but rewarding to finally get to know how to do those menus.

    Thanks for the support, and hopefully it works perfectly, thank you again 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Relative menu links’ is closed to new replies.