Problem with WPML Multilanguage (III)
This topic contains 13 replies, has 3 voices, and was last updated by jotomas 5 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 16, 2020 at 6:45 pm #526031
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.
January 16, 2020 at 8:05 pm #526052Have you translated the menu?
https://wpml.org/documentation/getting-started-guide/translating-menus/
January 16, 2020 at 9:06 pm #526063Hi 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.
January 16, 2020 at 9:52 pm #526078OK, have you tried updating the link to what it should be, then?
January 16, 2020 at 10:23 pm #526088Hi 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.
January 17, 2020 at 9:09 pm #526227Please share WP Admin so we can check those settings, then.
Thanks
January 18, 2020 at 6:10 am #526279This reply has been marked as private.January 18, 2020 at 7:18 am #526282Hi 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.
January 18, 2020 at 7:35 am #526283Hi jotomas,
Please provide us FTP credentials to check what causing this issue.
Kiran
January 18, 2020 at 8:30 am #526291This reply has been marked as private.January 18, 2020 at 1:22 pm #526329This reply has been marked as private.January 18, 2020 at 4:08 pm #526350This reply has been marked as private.January 21, 2020 at 6:33 am #526639Hi 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.phpLet us know.
Regards,
KiranJanuary 22, 2020 at 9:12 pm #526923Hi 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket