Skip Navigation

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

Problem:
Sales agent dashboard wasn't being translated into English on frontend.

Solution:
The plugin has a setting in WooCommerce -> Settings -> Sales Agent which sets the agent dashboard page in a configuration (wcb2bsa_dashboard_page). This is a string and is found in Admin strings. It needs to be included in ST and translated as mentioned below:

1. Go to WPML -> String Translation -> Scroll to the bottom of the page and click "Translate texts in admin screens".

2. In "Admin Texts Translation", search for "wcb2bsa_dashboard_page".

3. Add to string translation.

4. Go back to String Translation and search for same field (wcb2bsa_dashboard_page).

5. By default you'll see the English flag with the string and a value, which is the page ID of the "Sales agents dashboard" page in Italian.

6. Change the language of the string to Italian because it is the default language of the site (adjust accordingly).

7. Then go to Pages and switch to English from top admin bar. Then mouse over the page and note the page ID.

8. Then translate the string in ST with the value of English version of "Sales agents dashboard" page ID (noted in #7).

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 10 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 11 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
June 20, 2023 at 4:20 pm #13861869

micheleG-6

Hi everybody,
When I log in as an agent from the italian version of the website, the sales dashboard area is fine and in italian.
When I log in as an agent from the english version I only see the italian version of the website and the page "hidden link" is not the one I need.

hidden link

Schermata 2023-06-20 alle 18.16.03.png
Schermata 2023-06-20 alle 18.15.46.png
June 21, 2023 at 11:06 am #13867071

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Please make sure the translation of this page is 100% complete and there's no gear icon or circular arrows mentioning an in-progress or needs-update kind of statuses.

Also please try the followings:

- Take a full backup of site and database before proceeding.
- Go to WPML -> Settings -> Translate Link Targets and click "Scan now and adjust links" button and see if it helps.
- If it doesn't, please try some troubleshooting options mentioned at https://wpml.org/documentation/support/wpml-troubleshooting-options/

If none of this helps, then repeat the above mentioned with minimal setup, like only with WPML and most required plugins while deactivating all others.

Let me know how it goes.

Regards.

June 21, 2023 at 1:12 pm #13868319

micheleG-6

I tried the first idea on the staging website but nothing.
About the second, can you be a little more specific? Which one do you suggest? I've already tried to delete cash.

Do you want access to the website?

June 21, 2023 at 1:48 pm #13869041

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for trying.

The minimal setup is meant to try with only most required plugins to get to that page like:

- WPML plugins
- WooCommerce
- And related B2B addon(s)

If this doesn't help, yes, allow me admin access to your staging site, with some steps to reproduce and observe the issue.

I've set your next reply as private to share this information safely.

IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

June 22, 2023 at 6:16 am #13872723

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sure, I am working on it and 'll get back to you as soon as I find a solution or need more information.

June 22, 2023 at 7:05 am #13872981

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I am seeing both Italian and English (sales agent dashboard) pages the same. The one you showed previously is nothing like these.

Can you setup one like shown previously (image and video)? So I can observe the problem properly.

Also write any steps needing to edit/update those pages and translations.

it.jpg
en.jpg
June 22, 2023 at 7:35 am #13873301

micheleG-6

Ciao to replicate the issue, open on a different browser and login as an agent:
1. Go here: hidden link
2. Username: **** PSW: ****
3 You'll notice that hidden link
is different from hidden link

June 22, 2023 at 9:04 am #13874815

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you, I am working on it...

June 22, 2023 at 11:12 am #13875669

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

It is fixed now on the staging site. Let me explain what you need to do to apply this on your live site:

1. Go to WPML -> String Translation -> Scroll to the bottom of the page and click "Translate texts in admin screens".

2. In "Admin Texts Translation", search for "wcb2bsa_dashboard_page".

3. Add to string translation.

4. Go back to String Translation and search for same field (wcb2bsa_dashboard_page).

5. By default you'll see the English flag with the string and a value, which is the page ID of the "Sales agents dashboard" page in Italian.

6. Change the language of the string to Italian because it is the default language of the site.

7. Then go to Pages and switch to English from top admin bar. Then mouse over the page and note the page ID.

8. Then translate the string in ST with the value of English version of "Sales agents dashboard" page ID (noted in #7).

And you should be good to go.

st.jpg
english.jpg
adm.jpg
June 22, 2023 at 1:11 pm #13877185

micheleG-6

Great, I made it. Thank you really much. I didn't know about this feature, this is really interesting.

I just have one more question about a filter with Be-Rocket that is not showing in english version: hidden link

Schermata 2023-06-22 alle 15.10.06.png
Schermata 2023-06-22 alle 15.09.12.png
June 22, 2023 at 1:32 pm #13877745

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for confirming and glad it worked for you.

Apparently looks like that Be-Rocket isn't on compatibility list (https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=0&wpv_post_search=Be-Rocket&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search), if that's a plugin, I'll suggest to check with their support.

However, I'll also suggest to open a separate ticket for this, because as per our support policy we can address one issue per ticket, so if others looking for a solution can find it easily.

I am closing this ticket as resolved!