[Resolved] translation in English & different position for flags
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to change the wording in the English language in the footer, translate options in the contact form from Greek to English, and add a language switch next to the email in the top bar on their WordPress site. Solution: 1. We checked the 'Houzez > Footer' settings and found that the 'Template type' and 'Display conditions' were not applied to the English translation. After applying these settings, the English footer appeared correctly on both the English and Greek sites. 2. We switched to using the Elementor PRO footer as recommended by our colleague Bobby. The Greek footer, which was still in draft form, was published, translated, and set with the display condition to 'Entire site'. 3. The Elementor Footer is now correctly displaying on the frontend, and the translation is working perfectly.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 further assistance is needed, please open a new support ticket at WPML support forum.
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.
Our next available supporter will start replying to tickets in about 5.02 hours from now. Thank you for your understanding.
Background of the issue:
I am trying to make several adjustments to my WordPress site hidden link using WPML. Specifically, I want to change the wording in the English language in the footer, translate options in the contact form on the homepage from Greek to English, and add a language switch (just the flags) next to the email in the top bar of my page.
Symptoms:
1) I haven't been able to change the wording in the English language in the footer. 2) The options in the contact form on the homepage remain in Greek and haven't been translated into English. 3) I haven't managed to add a language switch (just the flags) next to the email in the top bar.
Questions:
How can I change the wording in the English language in the footer?
How can I translate the options in the contact form on the homepage from Greek to English?
How can I add a language switch (just the flags) next to the email in the top bar of my page?
We try to keep each ticket to 1 issue, if possible let's focus on one item in this thread and we can split it into separate ones for the rest of the issues.
#1
"I haven't been able to change the wording in the English language in the footer."
How is the footer created? I can see it's made with Elementor, are you using a template?
If the item in the footer is a widget, please follow these steps instead.
#2 issue -> let's focus on this once we resolve this thread (i will split into it's own issue) or you are welcome to open a separate ticket for it as well.
#3
" I haven't managed to add a language switch (just the flags) next to the email in the top bar."
I will provide some quick steps here if we need to further debug we can split into separate issue.
It looks like the header area is a custom area, how is it created?
For #1
"I haven't been able to change the wording in the English language in the footer." footer is created via my theme -> Houzez (my theme) -> Header & Footer Builder.
I've tried what you said but still isn't working. Is there any change you can take a look?
For #2 and #3 I haven't tried yet what you said to do.
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
When I examine the Footer I can confirm that the template assigned to it has the ID 4379 which is used in both languages.
Review Houzez (my theme) -> Header & Footer Builder and you will notice that the templates are not translatable.
Go to WPML->Settings-> Μετάφραση τύπων αναρτήσεων and set "Header & Footer Builder (fts_builder)" to "Translatable"
I have added translation, however, I can verify that there is no way I can set the different ID per language, which is most likely why that field was set to 'not translatable'
As you are using Elementor pro, is it possible to create an Elementor Pro template for the footer and just copy the content from the existing footer into the one created with Elementor? Elementor PRO + WPML function properly together and respect the translations.
Bobby won't be available for a few days, so I’ll be handling your ticket in the meantime.
- In "Houzez > Footer," I noticed that the "Template type" and "Display conditions" weren’t applied to the English translation. When I applied them, the English footer appeared on both the English and Greek sites.
- So I followed Bobby’s recommendation, I switched to using the Elementor PRO footer instead.
- You had already created the Greek footer, but it was still in draft form.
- I’ve published, translated it, and set the display condition to "Entire site".
Now the Elementor Footer is correctly displaying on the frontend, and the translation is working perfectly.
Keeping one issue by forum threat helps to keep the forum clean and organized, it will also help other users with similar problems to find solutions when searching the forum.