How to change text using loco translate

When I change the category in my listing form, the form is updated to display new attributes, but it loads attributes, like the ‘price’ attribute from the booking extension, in English, even though I have translated it into French. I’d like to add that as long as I don’t change the category, my form remains in French.
it’s not a cache problem

Steps to reproduce

  • I’m using WordPress.
  • With WP Fastest Cache, my cache is disabled for logged-in users.
  • In the video, you can see that I clear the cache.
  • I’m using Loco Translate as per your documentation.
  • The booking extension is 98% translated (which is fine).
  • Create a listing
  • and select a categorie

Actual result

When I change the category in the combobox, the entire page switches to English, even though it was in French. I have to refresh the whole page for it to go back to French. When the category is changed, the form is refreshed (probably via JavaScript php ajax ), and it replaces my translation with English.

Expected result

I wish that when I change category that my translation is not changed.

Hi,

Please try to disable all third-party plugins except HivePress and Loco Translate, synchronize the template, and try again.

Good job andrii !
indeed i had locotranslate and polylangue despite polylangue was not configured when i deactivated it everything started to work fine

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.