Problem with WPML Multilanguage (III)

This topic contains 13 replies, has 3 voices, and was last updated by  jotomas 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #526031

    jotomas
    Buyer
    Post count: 802

    Hello,

    I have added the GD CPT “Menjar i Beure” Archive page to the main menu of my site https://inforoses.com

    When using the language switcher in the main menu to change the language of the archive page:

    1) It works correctly switching from the main language CA to any of the translated languages ES, FR or EN.

    For example, from:

    https://inforoses.com/menjar-i-beure/ (CA)

    to:

    https://inforoses.com/es/comer-y-beber/ (ES)

    2) It does not work correctly switching from any of the translated languages ES, FR or EN to any other language, including the main language CA. The problem is that the CPT slug remains from the origin language and it is not translated to the switched language, resulting in a “Page not found” error.

    For example, from ES:

    https://inforoses.com/es/comer-y-beber/

    to FR, that should be:

    https://inforoses.com/fr/manger-et-boire/

    instead, it shows:

    https://inforoses.com/fr/comer-y-beber/ (“Page not found”)

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #526052

    Alex Rollin
    Moderator
    Post count: 27815
    #526063

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thank you very much for your response.

    Yes, the menu has been translated via the WPML Menu Sync option. In fact the submenu options work correctly.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #526078

    Alex Rollin
    Moderator
    Post count: 27815

    OK, have you tried updating the link to what it should be, then?

    #526088

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thank you for your response.

    I checked the menu links and they are correct in each language, therefore I do not see the need to update them. I believe that the problem could come from the language switcher, as if it was changing the CPT slug to the wrong one.

    As far as I understood, problems like this in the past were due to bugs in the GD multilingual plugin.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #526227

    Alex Rollin
    Moderator
    Post count: 27815

    Please share WP Admin so we can check those settings, then.

    Thanks

    #526279

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #526282

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    During my last tests I noticed several inconsistencies that make me to believe that I am leaving something to do or that I am doing something wrong with GD and WPML:

    1) In WP Dashboard – Appearance – Menus – Add menu items, the translated names of the GD CPTs for the items “CPT Name Tags” and “CPT Name Categories” show only in the main language CA and not in the translated languages ES, FR and EN, except for one CPT (Habitatge i Allotjament).

    2) The same happens in the “GeoDirectory endpoints” section with “CPT Archives” and “CPT Add Listing” items.

    3) Only in ES language, in WP Dashboard – Appearance – Menus – Add menu items, the translated names of the GD CPT “Habitatge i Allotjament” shows correctly translated for the item “CPT Name Tags” but not for the item “CPT Name Categories” that appears in the main language CA.

    4) I tried to locate the strings for all these items with WPML String Translation option and there are some inconsistencies too.

    a – For example, the strings “Menjar i Beure Tags” and “Menjar i Beure Categories” are found twice in WordPress with the names “taxonomy general name: Menjar i Beure Tags” and “taxonomy general name: Menjar i Beure Categories” in the main language CA, and in geodirectory and geodir_custom_posts in EN, while most of the other “CPT Name Tags” and “CPT Name Categories” strings are found only once in WordPress with the name “taxonomy general name: Menjar i Beure Tags”, as well as in geodirectory and geodir_custom_posts in the main language CA.

    b – However, other strings, for example “Servei Tags” and “Servei Categories” are found only in WordPress with the names “taxonomy general name: Servei Tags” and “taxonomy general name: Servei Categories” in the main language CA, but they are not found in geodirectory and geodir_custom_posts.

    c – The translations of the strings I checked are correct.

    d – In the case of the strings “Menjar i Beure Tags” and “Menjar i Beure Categories”, I tried to change language of the string in EN to CA, but it is not possible.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #526283

    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    Please provide us FTP credentials to check what causing this issue.

    Kiran

    #526291

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #526329

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #526350

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #526639

    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    WPML language menu switcher issue has been fixed.

    For issue on page WP Dashboard – Appearance – Menus – Add menu items
    – Make sure all strings are translated
    – It also depends on admin viewing language under profile page /wp-admin/profile.php

    Let us know.

    Regards,
    Kiran

    #526923

    jotomas
    Buyer
    Post count: 802

    Hi Kiran,

    Great! I checked and it is fine now.

    Thank you very much for your help!

    I will look in detail at the issue on page WP Dashboard – Appearance – Menus – Add menu items and I will open other tickets if necessary.

    Best regards.

Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket