Skip Navigation

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

Last updated by Noman 4 days, 13 hours ago.

Assisted by: Noman.

Author Posts
January 19, 2025 at 7:01 am #16610008

森泉 祐毅

Background of the issue:
I am trying to translate the top page of my site, which is a theme option, using WPML. The site is currently under development. I have already translated the strings in the string translation section.

Symptoms:
The translations do not reflect on the actual homepage despite modifying the PHP and WP memory to 3G and changing the server limitations.

Questions:
Why are the translations not appearing on the homepage after using the string translation section?

January 19, 2025 at 11:41 am #16610342

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I visited the home page of your site and I can see a few strings that are not translated into English language as you can see in the attached screenshot.

To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

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

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

home page.jpg
January 20, 2025 at 3:41 pm #16614407

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for sharing the login details. However, I encountered a security notice when trying to access the wp-admin page of your site. I also tried using a VPN, but the issue persists. Could you please deactivate the security plugin temporarily so I can access your site?

Thank you

security.jpg
January 20, 2025 at 8:03 pm #16615447

森泉 祐毅

I have turned the security off. Please try again. Thank you.

January 21, 2025 at 11:59 am #16618189

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for deactivating the security. I’m debugging the issue on your site and get back to you with an update soon.

Thank you for your cooperation

January 21, 2025 at 2:33 pm #16619283

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’ve logged in to your site and followed the below steps:

1. Added the below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <admin-texts>
    <key name="dp_options">
       <key name="index_content5_desc"/>
      <key name="index_content4_items">
        <key name="*">
          <key name="headline"/>
          <key name="desc"/>
        </key>
      </key>
    </key>
  </admin-texts>
</wpml-config>

2. Went to WPML >> String Translation page.
3. Searched for the problematic strings one by one.
4. Assign the correct source language using change the language of selected strings dropdown as you can see in the attached screenshot.
5. Added the correct translation in English language.

Now it seems to be showing the correct translation in English. Could you please check and confirm?

Thank you for your cooperation and patience

Assign the correct language.jpg
After.jpg
EN translation.jpg
January 22, 2025 at 12:15 am #16620807

森泉 祐毅

Thank you for your assistance. I have confirmed it have fixed.
Will this issue happen again if I change the contents? Or is this just a temporary issue?

January 22, 2025 at 8:17 am #16621404

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

You're welcome! The issue has been fixed permanently, so changing the contents should not cause it to happen again. Feel free to create a new chat/ticket anytime if something for us later on and we would be more than happy to help.

Thank you