Skip Navigation

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

Problem:
The client was unable to translate certain strings within their website.

Solution:
First, we advised the client to search for the specific string they needed to translate:

You are not currently subscribed to any %s

We also suggested that if the strings were not appearing in the desired language, the client could rename the .po file to force the strings to display in English, making it easier to search for them.

We also instructed the client to scan for strings within the 'BuddyBoss Platform' plugin by navigating to WPML->Themes and Plugin Localizations -> Strings in the plugins, selecting 'BuddyBoss Platform', and clicking on 'Scan selected plugins for strings'.
If the provided solution is not relevant due to being outdated or not applicable to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket.

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: 

This topic contains 10 replies, has 2 voices.

Last updated by Shekhar Bhandari 7 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 25, 2024 at 8:13 am #15563854

ericH-23

Unable to translate strings

April 25, 2024 at 8:27 am #15564097

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

April 25, 2024 at 10:34 am #15564906

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

With the login details the URL you mentioned redirects to hidden link can you check this?

How can I access the strings, if it's hard to explain, it will be helpful if you can create a video for me.

Look forward to your reply.

Thanks

April 28, 2024 at 6:37 pm #15574250

ericH-23

Hi,
You have to go to: hidden link
Thanks, kind regards
Eric

April 29, 2024 at 6:35 am #15574696

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I can see the issue, even when I rename the po file the translations are not loading.

I will like to install a database plugin to debug this further, also would like to disable/enable theme/plugins on the provided site, let me know if this is okay for you.

Look forward to your reply.

Thanks

April 29, 2024 at 7:18 am #15575011

ericH-23

Hi,
Thanks, very good. It is a staging site especially for you so please do what you need to do. This problem is curious so it would be great, to know the origin of this.
Thanks, kind regards

April 29, 2024 at 11:08 am #15576691

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

What we were translating was the wrong strings, please search for the following string and translate it.

You are not currently subscribed to any %s

Let me know if this helps.

Thanks

April 29, 2024 at 3:58 pm #15578064

ericH-23

Hi,
Thanks, that is great to hear.
I checked this and have now:

before
wrong: Sie haben derzeit kein gruppen abonniert.
right: Sie haben derzeit keine Gruppen abonniert.

now
wrong: Sie haben derzeit keine gruppen abonniert.
right: Sie haben derzeit keine Gruppen abonniert.

So I tried to find "gruppen", "foren" and "diskussionen", also the first letter is not lowercase with css, but I didn't find them.

May I ask you to check this a a second part of this ticket please?

Thanks a lot, kind regards

April 29, 2024 at 4:09 pm #15578089

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

For groupen, hidden link

For foren hidden link

For diskussionen hidden link

You will need to search for strings in English language, if you are not sure, I suggest you to rename the po file, this will show the strings in English which will make you easier to search for it.

For any new issues, I suggest you to open a new ticket.

Have a nice day ahead.

Thanks

April 29, 2024 at 4:29 pm #15578222

ericH-23

Hi,
Thanks, yes I see now the searched string in dev4. But how you get them there? I enabled the WPML auto register already and search again for "Forums", but I have no entry "forums" in the the search results. Which po file I shall rename. I am sorry but I need a little bit further info.
Thanks, kind regards

April 29, 2024 at 4:33 pm #15578229

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

You can go to WPML->Themes and Plugin Localizations -> Strings in the plugins -> Select "BuddyBoss Platform" and click on "Scan selected plugins for strings"

This will register the strings.

For the mo files, go to /wp-content/languages/plugins and rename the buddyboss-es_ES.mo to something else.

Thanks

April 29, 2024 at 8:11 pm #15578672

ericH-23

Hi,
Thanks a lot for your help!
Here the difficulties of finding the right string were more complicated because Buddyboss has here a bug I think. In spite of adding the German word for example as "Diskussionen" it shown as "diskussionen" and therefore I searched further for the right string. But your support was here very helpful. I will contact Buddyboss.
Thanks, kind regards