Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem: Unable to access the sub sections of WooCommerce My Account page in secondary language

Solution: This issue is happening because there are limitations to use different slugs for WooCommerce Endpoints. It works after the following steps. Please try it after a full site backup.

1) Go to Woocommerce>>Settings>>Advanced

2) Scroll down to the endpoints section and save

3) Go to WPML>>String Translation

4) Choose *WP Endpoints* option for *Select strings within domain* drop-down box

5) Delete the WP Endpoints strings registered in Arabic

6) Mark the translation of English WP Endpoints as *Not translated*

7) Visit Settings>>Permalinks and resave the settings

Relevant Documentation: https://wpml.org/forums/topic/my-account-page-dont-work-in-arabic/#post-5878547

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.

This topic contains 7 replies, has 4 voices.

Last updated by cesarG-6 4 years, 7 months ago.

Assisted by: Bigul.

Author Posts
April 3, 2020 at 4:57 pm #5834289

turky-mohammedA

Links on the main page of "My account" don't work in Arabic. Please refer to attached picture - https://wpml.org/wp-content/uploads/2020/03/5807473-Capture_96.jpg

April 3, 2020 at 5:12 pm #5834427

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

The is existing on my local copy in minimal setup and after initial troubleshooting steps. But not able to reproduce the issue in a fresh installation. So I have shared the details with our second-tier team now. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

April 7, 2020 at 5:27 pm #5859855

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

I have escalated the ticket to our second-tier team for further debugging. Because the bug exists after the primary debugging steps. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

April 9, 2020 at 5:53 pm #5878547

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

This issue is happening because there are limitations to use different slugs for WooCommerce Endpoints. The issue still exists when we deactivate WPML and Dokan then set the endpoints in Arabic.

We are getting the expected result after the following steps. So please try it after a full site backup and make sure you are getting the expected result or not.

1) Go to Woocommerce > Settings > Advanced
2) Scroll down to the endpoints section and save
3) Go to WPML > String Translation
4) Choose *WP Endpoints* option for *Select strings within domain* drop-down box
5) Delete the WP Endpoints strings registered in Arabic
6) Mark the translation of English WP Endpoints as *Not translated*
7) Visit Settings>>Permalinks and resave the settings

Please check the attached images for more details and let me know your feedback.

--
Thanks!

Bigul

2020-04-09_2309_001.png
2020-04-09_2309.png
2020-04-09_2308_001.png
2020-04-09_2308.png
2020-04-09_2303.png
June 9, 2020 at 5:23 pm #6334523

michalK-43

also not work some other url like edit profile

June 9, 2020 at 5:23 pm #6334525

michalK-43

hidden link

July 22, 2020 at 3:07 pm #6654363

cesarG-6

I have the same issue. I just leave a comment so other people are aware.

My site default language is Spanish and the secondary language is English. I had changed the WooCommerce endpoints to spanish from the WooCommerce settings and when looking at the account options I get this problem where all the links on the left panel will just show the main account page.

I tried the workaround mentioned here: https://wpml.org/forums/topic/woocommerce-endpoints-all-refer-to-my-space/ and does not work for me.

I had to apply the workaround on this thread which for me was to revert back the WooCommerce Endpoints to the english text as they were initially set by woocommerce.