Skip to content Skip to sidebar

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

Problem:
The client is unable to translate extended profile fields in BuddyPress.
Solution:
We recommend applying the solution provided in the WPML errata page for the issue where BuddyPress profile fields are not being translated on the frontend. You can find the solution here: https://wpml.org/errata/buddypress-profile-fields-are-not-being-translated-on-the-frontend/.
After applying the solution, you should be able to find the string under the domain 'BuddyPress Profile Fields'.

If this solution does not apply to your case because it might be outdated or not relevant to your specific situation, we highly recommend checking the 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 you still encounter issues, please do not hesitate to open a new support ticket with us.

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

Last updated by Paola Mendiburu 1 year, 8 months ago.

Assisted by: Paola Mendiburu.

Author Posts
March 27, 2024 at 11:09 am

peterV-119

Can´t translate extended profile fields buddypress

April 1, 2024 at 10:41 am #15468800

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

The issue has been escalated to the compatibility team.

I will let you know when I have some news.

April 3, 2024 at 8:19 am #15476733

peterV-119

Hi Paola,

Thanks for your message. I just did the migration so looking forward to the next steps!

Best regards,
Peter

April 3, 2024 at 9:18 am #15477012

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

It is being investigated by the compatibility team.

I'll let you know as soon as I have news.

April 3, 2024 at 1:34 pm #15478709

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hi there!

Applying this solution works:
https://wpml.org/errata/buddypress-profile-fields-are-not-being-translated-on-the-frontend/

As you can see on the test site:
hidden link

Please apply the solution and the find the string under the domain BuddyPress Profile Fields.

Let me know if you have any problem.

April 4, 2024 at 10:32 pm #15485954

peterV-119

Hi Paola,

It was still not working for my multi-line text field. But when reviewing this piece of code: ($type == 'textbox' || $type == 'wp-textbox' || $type == 'wp-biography'), I changed my field to type WP-Biography. That did the trick; the field appeared in the String translation.

But now the issue is, when I switch the language to Dutch, fill in some text, this doesn't seem to appear in the string translations. Can WPML handle the input from various languages by the end users?

April 5, 2024 at 8:36 am #15486849

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Do you mean that if you introduce content from a second language on the front end doesn´t appear on String translation?

Does it appears when introducing from the main language on the front end?

April 5, 2024 at 9:14 am #15487031

peterV-119

Hi Paola, That is correct. When I introduce content from another language than the primary one, String Translation doesn't seem to pick it up as coming from another language than the primary.

I also tested this on the demo site. I first changed WP admin to Dutch, then changed the demo user description text. String Translation makes another English entry for my Dutch text...

And if this is working as I would expect, it all should work automatic. Pick up the language tag, and translate the string to the other three.

I hope this is possible with WPML.

Thanks again for your efforts solving this puzzle! 🙂

April 8, 2024 at 1:58 pm #15494622

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

You will need to change the change the language of the string as you can see in this video:
hidden link

April 11, 2024 at 11:40 am #15508828

peterV-119

Ok that works, thanks! Now the question is, is there a way to automate this?

When a Dutch user fills in his/her profile, it should be automatically translated in 3 other languages. It's just this one field. The rest is all handled with dropdowns.

April 11, 2024 at 2:18 pm #15509785

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

No, you can send it to automatic translation as you can see in this documentation:
https://wpml.org/documentation/automatic-translation/automatically-translate-strings-with-wpml/

But it can´t be done automatically that everytime user input some text y get translated.

April 11, 2024 at 6:02 pm #15510716

peterV-119

That's a pity. Do you think it can be done with custom code? And if so, do you know a person? 🙂

April 12, 2024 at 8:46 am #15512008

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

You can contact our WPML Contractors:
https://wpml.org/contractors/

April 17, 2024 at 11:09 am #15531253

peterV-119

Ok thanks Paola. The list is very long. Nobody you can introduce me to? Considering you know what I want and you probably have a WPML network 🙂

April 17, 2024 at 1:49 pm #15532705

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

I don´t know them. I can recommend you anyone. Sorry for that.