Passer au contenu Passer à la barre latérale

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Fuseau horaire du support : Pacific/Easter (GMT-06:00)

Ce sujet contient 2 réponses, a 0 voix.

Dernière mise à jour par Ilyes Il y a 1 année et 3 mois.

Assisté par: Ilyes.

Auteur Messages
décembre 12, 2024 à 1:26 pm #16507970

hannahZ

Contexte de la question:
I have set up a theme using Elementor and Crocoblock, and then configured WPML. My first language is Hebrew, and I am translating all content from Hebrew to English. The issue can be seen on this page: lien caché

Symptômes:
When I try to translate strings, they are marked as English words instead of Hebrew. Additionally, when I input the translation, it doesn't work. I expected to see only English words on the page, but I see only Hebrew words.

Questions:
Why are the strings marked as English instead of Hebrew?
Why doesn't the translation work when I input it?

décembre 13, 2024 à 5:44 pm #16512356

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

For the translation to work properly, the language of the original string needs to have the right language assigned to it,

In that case, you will need to change the language of the string before translating it like described here : https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Keep in mind that you cannot change the language of a translated string, so you will have to delete the string entirely and then resave it again so it can load again as untranslated under string translation,

Also, if you cannot change the language of an individual string, this means it is linked to a group of strings, under the text domain (in this example the text domain would be "elementor-4455"), in this case, filter by that text domain and select all the strings under this domain and change their language to Hebrew as a group.

Let me know if you need help with this, I could do it for you if needed.

Best,

décembre 17, 2024 à 4:01 pm #16522700

hannahZ

Hi
I have done as you said.
But still the translation doesn't work
Can you see whats going wrong
Best regards
Thanks you very much
Hannah

translation strings.png
project enaim change strings.png
décembre 18, 2024 à 4:30 pm #16526874

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

lien caché

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

décembre 30, 2024 à 11:00 pm #16554698

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

It turns out, these texts are part of the following elementor template : lien caché

These templates shouldn't be translated from the String Translation, but should be translated like any other page, using the translation management tool.

In this case, I have translated the template for you, and you can do the same following this tutorial : https://wpml.org/documentation/plugins-compatibility/elementor/#translating-elementor-templates

Let me know if you have any other questions,

Le sujet '[Fermé] Wpml settings' est fermé aux nouvelles réponses.