Skip Navigation

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

Problem:
You are trying to translate text items in the Jetpack newsletter signup widget on your Spanish pages using WPML, but the translations are not applying, and the text still displays in English.
Solution:
We recommend adding the following XML code to WPML-> Settings-> Custom XML tab to ensure the Jetpack widget strings are translatable:

<wpml-config><br />  <admin-texts><br />    <key name="widget_blog_subscription"><br />      <key name="*"><br />        <key name="title"/><br />        <key name="title_following"/><br />        <key name="subscribe_text"/><br />        <key name="subscribe_logged_in"/><br />        <key name="subscribe_button"/><br />        <key name="subscribe_placeholder"/><br />        <key name="success_message"/><br />      </key><br />    </key><br />  <admin-texts><br /></wpml-config>

After adding this code, the strings should translate correctly. Please check your Spanish version to confirm.

If this solution does not resolve your issue or seems outdated, we highly recommend checking 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 the problem persists, 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.

This topic contains 2 replies, has 1 voice.

Last updated by Osama Mersal 1 week, 4 days ago.

Assisted by: Osama Mersal.

Author Posts
December 7, 2024 at 2:51 am #16487885

metroW

Background of the issue:
I am trying to translate text items in the Jetpack newsletter signup widget on my Spanish pages using WPML. The site I need help with is hidden link.

Symptoms:
String translations for the Jetpack newsletter signup widget are not adopting WPML settings on the Spanish pages. The text still displays in English.

Questions:
How do I update the associated text areas to display the Spanish text?

December 9, 2024 at 7:53 am #16491240

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thanks for reaching out to WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

Could you please try the solution mentioned in the following ticket and check if it helps in solving the issue?

- https://wpml.org/forums/topic/translate-jetpack-newsletter/

Please feel free to let us know if you need further assistance or clarification. We'll be happy to help.

Best regards,
Prosenjit

December 11, 2024 at 1:03 am #16500902

metroW

Hi Prosenjit,

I went through the steps on the following page and the text is still not being translated into Spanish.

https://wpml.org/forums/topic/translate-jetpack-newsletter/

In the screenshots I attached to the ticket with my initial inquiry, you can see that we have provided translations for the strings in question. For some reason, however, the translations are not showing up on the front-end of our site.

Please note that this is a staging site, just in case that's a factor we need to consider.

Please pass along any next steps we can take to resolve the issue.

Thanks,
Adrian

December 11, 2024 at 11:39 am #16503077

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Adrian,

I'm Osama from WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 15, 2024 at 9:03 am #16514545

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Adrian,

Thanks for the access details. I was able to fix the issue by adding the following XML code to WPML-> Settings-> Custom XML tab.

<wpml-config>
  <admin-texts>
    <key name="widget_blog_subscription">
      <key name="*">
        <key name="title"/>
        <key name="title_following"/>
        <key name="subscribe_text"/>
        <key name="subscribe_logged_in"/>
        <key name="subscribe_button"/>
        <key name="subscribe_placeholder"/>
        <key name="success_message"/>
      </key>
    </key>
  </admin-texts>
</wpml-config>

After that, the hidden link">strings are translated correctly. Kindly check the hidden link">Spanish version.

Best regards,
Osama