This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues where links associated with certain translated strings are not working, such as 'my account', 'wishlist', and 'my products list' on your WooCommerce site, the problem might be with custom links added through the Customize My Account for WooCommerce plugin.
Solution:
We recommend following these steps to ensure that your translated links work correctly:
1. Copy the problematic link from the 'My Account' page that is not displaying correctly in the desired language.
2. Navigate to 'WPML > String Translation'.
3. Enter the problematic link into the search box and click the 'Search' button.
4. Once the link appears in the search results, add the translation for the link by clicking the '+' icon. For the English translation, enter the link to the English page.
5. Click outside the box to save the translation.
This solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 14 replies, has 2 voices.
Last updated by Prosenjit Barman 3 months, 3 weeks ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
July 22, 2024 at 10:39 pm #15989518 | |
claudeD-16 |
<b>Background of the issue: </b> <b>Symptoms: </b> <b>Questions: </b> |
July 24, 2024 at 5:02 pm #15999720 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understand what you're looking for. The links you're trying to translate are WooCommerce endpoints. You should be able to translate them from the WooCommerce > WooCommerce Multilingual > Store URLs section. Please check the guide below to understand how you can translate the endpoints. - https://wpml.org/documentation/related-projects/woocommerce-multilingual/#urls I hope the documentation will help. Please feel free to let me know if you need further assistance or clarification you need in this matter. I will be happy to help. Best regards, |
July 28, 2024 at 7:30 pm #16012555 | |
claudeD-16 |
Hi, i followed the documentation you provided, i was able to viwe my translations, but the endpoints links do not appear on the Woocommerce Store URLs pages for me to translate them. Thanks. |
July 28, 2024 at 7:38 pm #16012566 | |
claudeD-16 |
When i click on the shop link, i am redirected to the french home page instead of the English one. When i click on my product list link, i am redirected the french translation but the page is already translated. It is the same issue for the wislist link. The only link that is working is my account link. Thanks |
July 29, 2024 at 3:38 am #16013258 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, If the Endpoints are not visible in the Store URL's section or the WooCommerce pages are not functioning correctly, it is possible that the WooCommerce pages and endpoints have not been configured properly yet. Please follow these steps to resolve the issue: 1. Generate the default WooCommerce pages by following this guide: hidden link. Please try these steps and let me know the outcome. I'll be happy to assist further if needed. Best regards, |
July 29, 2024 at 10:52 pm #16018202 | |
claudeD-16 |
Hi i followed the instructions provided, but unfortunatley i cannot see the button labeled "Create missing translations." Thanks. |
July 30, 2024 at 12:03 pm #16020473 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi there, If the button to create a translation for the WooCommerce pages is not showing, it means the translation already exists. If the endpoints still do not appear in the Translation section under Store URLs, please go to "WooCommerce > Settings > Advanced" and ensure that the endpoint is correctly set up there. Please check the guide below for more information about the process. - hidden link You can also modify the endpoint slightly, save the changes. Then check if the modified endpoint appears in WooComemrce > WooCommerce Multiilingual > Store URL's section for translation. Let me know the update. I will take a closer look if you need further assistance in this matter. Best regards, |
August 1, 2024 at 12:31 am #16027213 | |
claudeD-16 |
Hi, |
August 1, 2024 at 12:43 am #16027238 | |
claudeD-16 |
The wislist link is a woocommerce link, why this link is not showing up among the endpoints links for translation, i should at list be able to see it. |
August 1, 2024 at 5:16 am #16027443 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, If the endpoints aren't showing in the WooCommerce Advanced Settings, they may not have been created by WooCommerce. You can add the endpoints by following this guide: hidden link You should be able to translate them after that. Regarding the Wishlist link, it seems you're using the Wishlist feature of your theme. Please follow these steps to ensure the Wishlist page is correctly translated in each language: 1. Go to "Pages > All Pages" and make sure the Wishlist page has been translated correctly. Open the default page and copy the ID from the URL. 2. Follow these steps to display the Wishlist correctly in each language: - Go to WPML > String Translation. I hope the steps above will help. Please feel free to let me know if you need further assistance or clarification in this matter. I will be happy to help. Best regards, |
August 1, 2024 at 9:38 am #16028692 | |
claudeD-16 |
Hi, the guide you provided does not show me how to add the endpoints. Besides, i don't think that is the issue here. The issue is that the link created by WPML for the English page is not linked to tho the English translation. When you click on the translated link, it it as always redirecting you the french translation page althouht the English page exits. Please see picture. |
August 1, 2024 at 10:41 am #16029051 | |
claudeD-16 |
I have an additional information, when i change the site default language to English, the link hidden link is directing me to the right page. But when click on the language switcher button, the page link remains the same. So issue is still there. Thanks |
August 2, 2024 at 6:38 am #16031739 | |
claudeD-16 |
Hi, any update on the case? Thanks |
August 5, 2024 at 4:20 am #16037357 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thank you for sharing the information. Since the endpoints are still not translating despite following the suggestions, a closer inspection will be necessary to identify the root cause of the issue. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you. IMPORTANT Looking forward to your response. Best Regards, |
August 6, 2024 at 5:49 am #16042492 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I checked and found that the links not displaying correctly in English are custom links added through the Customize My Account for WooCommerce plugin. To see these links in the English version correctly, go to "WPML > String Translation," search for the specific link, and add the correct English link as translation. I have added the translation for the 'My Product List' link, and it is now showing correctly. Please check the attached screenshot. Here are the detailed steps: 1. Copy the link from the "My Account" page that is not showing correctly in the English version. I hope it helps. Please feel free to let me know if you need further assistance in this matter. I will be happy to help. Best regards, |