Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 4 months ago.

Assisted by: Bruno Kos.

Author Posts
March 27, 2024 at 4:39 pm

tatianaW-2

Hi, we are using the BuddyBoss Theme and BuddyBoss Plugins on our website. On the membership page we have a Profile Search. On the translated page (German), the profile search feature are still showing in English (see screenshot attached). Although I did translate these words in the String Translation in the backend.

March 27, 2024 at 5:29 pm
March 27, 2024 at 5:30 pm #15457669

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size. You can find more information about the process here: [link](https://wpml.org/faq/provide-supporters-copy-site/).

Please confirm if this approach is acceptable to you.

March 27, 2024 at 6:10 pm #15457836

tatianaW-2

Yes, please go ahead.
Thank you, Tatiana

March 28, 2024 at 1:10 pm #15460766

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I am checking this with our 2nd tier and will keep you posted.

March 29, 2024 at 6:32 am #15463059

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Escalated to 2nd Tier, I will keep you posted.

March 29, 2024 at 4:57 pm #15465131

tatianaW-2

Thank you for the update.
Best regards,
Tatiana

April 2, 2024 at 6:28 am #15471100

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Can you check this?
https://wpml.org/errata/buddyboss-search-form-translation-issues/

This is the only way, but we escalated the case to our developers for a permanent solution.

April 3, 2024 at 12:00 pm #15477940

tatianaW-2

Hi Bruno,

it asks me for a username and password. How can I access this page?

Best regards,

April 3, 2024 at 12:03 pm #15478021

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I apologize, I sent the wrong link. Here it is https://wpml.org/errata/buddyboss-search-form-translation-issues/

April 3, 2024 at 12:59 pm #15478561

tatianaW-2

Hi Bruno,

when following the instructions on this page, the page where the Profile Search is located has completely deformatted (see screenshot attached). Attached I am also sending a comparison between the old and new file.

Are you sure the code it correct?

Thank you and best regards,
Tatiana

Comparison Old and New File.png
Profile Search new Code.png
April 4, 2024 at 6:58 am #15481117

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

There seems to be an error on that page now as if there is a PHP syntax error.

Can you do this:

1. Edit wp-config.php and insert the following lines (just before /* That's all, stop editing! Happy publishing. */ part)

define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false);

2. Reproduce the issue - visit broken page after you made a change according our erratum

3. Locate the debug log in: /wp-content/debug.log

Also, can you send me updated code (of the whole profile-search.php file, if it is more than 100 lines can you upload into dropbox or elsewhere) so I could check.

April 7, 2024 at 7:43 pm #15491955

tatianaW-2

Hi Bruno,

I did as you said. Here is the debug log and the updates code: hidden link

Best regards,
Tatiana

April 8, 2024 at 7:13 am #15492667

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I see, there seems to be typo in our errata. Can you try:

$label = apply_filters( 'wpml_translate_single_string', $label, 'Buddypress Multilingual', 'profile field ' . $f->id . ' - option ' . str_replace(' ', '-', strtolower($key)) . ' name' );

instead of:

$label = apply_filters( 'wpml_translate_single_string', $label, 'Buddypress Multilingual', 'profile field ' . $f->id . ' - option '' . str_replace(' ', '-', strtolower($key)) . '' name' );

Does it work then?

April 10, 2024 at 1:03 pm #15504889

tatianaW-2

I've done as you said. Now the page does not break, however, when changing the website to German, it still does not show the Profile Search translated.