Skip Navigation

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

Problem:
The client is unable to translate certain elements on their website, including the word 'Recommended' in a sidebar created with the Visual Sidebar Editor plugin for WPBakery Visual Composer, strings from the YARPP plugin for related posts, and the comment section.

Solution:
If you're experiencing issues with translating sidebar elements, related posts, or the comment section, we recommend you follow these steps:
1. Ensure you have a backup of your website.
2. Navigate to WPML > Settings > Custom XML Configuration, paste the following code, and save:

<wpml-config><br />  <admin-texts><br />    <key name="yarpp"><br />      <key name="before_related" /><br />      <key name="no_results" /><br />      <key name="rss_before_related" /><br />      <key name="rss_no_results" /><br />      <key name="rss_thumbnails_heading" /><br />      <key name="thumbnails_heading" /><br />    </key><br />  </admin-texts><br /></wpml-config>

3. Go to WPML > Theme and Plugins localization and scan the YARPP plugin.
4. Proceed to WPML > String Translation and translate the strings that were indicated in the screenshot provided by the client.

Following these steps should resolve the translation issues. If this solution doesn't look relevant to your problem, 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.

This topic contains 4 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 11 months, 3 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 8, 2023 at 11:05 am #15024919

karelV-8

Hello. So... It is all there. See the attached image what should be translated.

Sidebar: I had to install visual sidebar editor plugin which is used to create sidebars for WPBakery Visual Composer.

Also, in functions.php there is this code to be able to work with it:
// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 );

// Disables the block editor from managing widgets. renamed from wp_use_widgets_block_editor
add_filter( 'use_widgets_block_editor', '__return_false' );

Here we talk about the word Recommended in the sidebar, you can find it here hidden link

Also, YARP plugin for related posts, showing related posts below the current post is also not possible to translate using strings.

And well, then there is the whole comment section, I believe that you have a working solution for that, I just don't know where I can find it.

Thanks!

December 8, 2023 at 12:04 pm #15025481

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

I already sent your issue to our compatibility team, they will analyze it. I'll probably have a feedback after the weekend, I'll keep you posted.

Best regards,
Lucas Vidal

December 12, 2023 at 4:37 pm #15048357

karelV-8

Hello, any news?

December 12, 2023 at 8:10 pm #15049589

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Unfortunately, not yet. Our compatibility queue is in high demand right now, but I'll keep you posted. Thank you for understanding.

December 14, 2023 at 7:18 pm #15068249

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for waiting. I got a solution from my colleagues. Please make a Backup of your website and follow these steps:
1. Go to WPML > Settings > Custom XML Configuration, paste the following code and save:

<wpml-config>
  <admin-texts>
    <key name="yarpp">
      <key name="before_related" />
      <key name="no_results" />
      <key name="rss_before_related" />
      <key name="rss_no_results" />
      <key name="rss_thumbnails_heading" />
      <key name="thumbnails_heading" />
    </key>
  </admin-texts>
</wpml-config>

2. Go to WPML > Theme and Plugins localization and Scan the YARPP plugin
3. Go to WPML > String translation and translate the strings that are marked on the screenshot attached

That should do it 🙂 Please let me know if everything works as expected.

Screenshot 2023-12-14 at 16.12.45.png
Screenshot 2023-12-14 at 16.14.53.png
December 14, 2023 at 7:39 pm #15068415

karelV-8

Thanks, seems to be working.