Skip Navigation

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

Problem:
The client is having an issue where a translated string "Zaloguj i zarejestruj się za pomocą swojego konta Facebook lub Google" is not displaying in different language versions on their login page, despite following the standard troubleshooting instructions.
Solution:
First, we recommended re-registering the string for translation:
1. Navigate to WPML → String Translation.
2. Enable the option "Look for strings while pages are rendered".
3. Visit the page where the untranslated string appears.
4. Return to WPML → String Translation to see if the string is now registered.
5. Translate the string accordingly.
Additionally, we suggested deactivating all non-WPML related plugins temporarily to check if there is a plugin conflict.

If the above steps did not resolve the issue, we provided a code modification solution:
1. Open the file

class-heateor-social-login-admin.php

located in the plugin directory

.../wp-content/plugins/heateor-social-login/admin/

.
2. Locate line 337.
3. Replace the existing code with the following:

<div class="heateor_sl_title">' . get_option('heateor_sl')['title'] . '</div>

If these solutions do not seem relevant, please 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 8 replies, has 2 voices.

Last updated by Andrey 1 year, 3 months ago.

Assisted by: Andrey.

Author Posts
November 9, 2023 at 11:44 am #14765745

przemyslawD-3

Hi, i translated string "Zaloguj i zarejestruj się za pomocą swojego konta Facebook lub Google". Translation should show here, on the login page:

hidden link

but in every language version I can see only orginal (polish) string. I checked everything accordin to this instruction:

https://wpml.org/faq/why-arent-my-translated-strings-showing-up-on-the-front-end-of-my-site/

The memory limit is ok, deleting and adding translation didn't helped. What should I do?

string1.JPG
string2.JPG
November 10, 2023 at 7:41 am #14772855

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

Have you tried to delete this string from WPML → String Translation, register, and translate it again?

You can register the string using the following way:

- Go to WPML → String Translation
- Activate the option "Look for strings while pages are rendered"
- Open the required page where untranslated strings are displayed
- Go back toWPML → String Translation and check if the given string has been registered
- Translate

What are the results if you temporarily deactivate all non-WPML related plugins?

Let me know the results.

November 10, 2023 at 10:07 am #14774839

przemyslawD-3

ad 1) I did all this, it didn't help. Moreover, when I deleted just this string, I lost other translations on the page (thankfully they came back when I turned off the rendering options).

ad 2) It doesn't change anything, the problem is with only this one string.

Zrzut ekranu 2023-11-10 110053.png
November 10, 2023 at 10:11 am #14774897

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

November 13, 2023 at 6:48 pm #14791853

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I got the access details. I will take a look and update you here as soon as I know more.

November 13, 2023 at 7:40 pm #14792095

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I was able to replicate the issue on a fresh installation and discovered that it was due to a compatibility issue with the Heateor Social Login plugin. I have reported the issue to our compatibility team and will keep you updated as soon as I receive more information.

November 15, 2023 at 9:17 am #14805961

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Please try the following workaround to resolve the issue:

1. Open the file called "class-heateor-social-login-admin.php" located at ".../wp-content/plugins/heateor-social-login/admin/".

2. Look for line 337 in the file.

3. Replace the existing code:

						$html .= '<div class="heateor_sl_title">'. $this->options['title'] . '</div>';

with this new code:

						$html .= '<div class="heateor_sl_title">' . get_option('heateor_sl')['title'] . '</div>';

Please let me know if you need further assistance.

November 18, 2023 at 11:38 am #14867715

przemyslawD-3

Ok, done. I just change it and I think every think works fina now. Thank you for ypur help.

One more question - should I changed it once again after plugin update?

November 18, 2023 at 2:05 pm #14868051

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I don't know when the plugin author will include this change in the plugin, so you will need to make the change until it is added.