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.

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

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 2 months ago.

Assisted by: Mateus Getulio.

Author Posts
April 18, 2024 at 1:41 pm #15539201

michielK-4

I am trying to:translate placeholder string of searchbar

Link to a page where the issue can be seen:hidden link
hidden link

I expected to see: Placeholder text: Que recherchez-vous ?

Instead, I got:Placeholder text: Waar ben je naar opzoek? (original string)

Came upon this bug
https://wpml.org/errata/in-some-cases-some-strings-are-not-translating-properly/
And tried the work around

When I delete the string, enable the auto detection for strings, and add the translation again.
The string is translated correctly.
When I disable the auto detection again afterwards, the string in the frontend goes back to it's original language.
If I enable the auto detection again, it shows the correct translation in the frontend again.

Screenshot 2024-04-18 at 15.36.08 (1).png
Screenshot 2024-04-18 at 15.34.25 (1).png
Screenshot 2024-04-18 at 15.37.11.png
Screenshot 2024-04-18 at 15.30.24.png
April 18, 2024 at 8:38 pm #15541037

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hello,

Thanks for contacting us.

I notice that there's an update available for WPML and for String Translation on your site.

I worked on a similar case and I was able to fix it following the steps:

- Inside your wp-admin please go to Plugins -> Add New.
- Then click on the "Commercial" tab and click on the "Check for updates" button in the WPML section
- After that please select every red plugin available in the list and then click on "Download" at the bottom of the grid.

When the update is complete, please try the following:

- Go to WPML >Support > Troubleshooting
- Click on "Show custom MO Files Pre-generation dialog box"
- Refresh the page (It should display the MO files dialog box)
- Regenerate the MO Files

After that, please test the translation again and check if it is working as expected.

Thank you, please let us know.

Mateus

The topic ‘[Closed] In some cases some strings are not translating properly, still present’ is closed to new replies.