This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is attempting to translate the footer from English to Arabic using two Penci blocks, one for each language. They have tried to add the block to string translation via the 'Admin Texts Translation' but it was not successful.
Solution:
1. We resolved the issue by translating the footer slug instead of the footer ID. We recommend checking the footer translation by visiting this link and ensuring it works correctly in both languages.
2. We advise keeping the strings in the Soledad > Theme option > Quick text translation in English, and then translating them to Arabic via WPML -> String Translation.
If this solution does not seem relevant to your issue, please feel free to open a new support ticket by visiting the 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.
Tagged: Compatibility
This topic contains 17 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 4 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
December 19, 2023 at 6:46 pm #15095955 | |
josephN-9 |
I am trying to: to translate footer Eng to Ar I have 2 penci block 1 for arabic and 1 for en Link to a page where the issue can be seen: hidden link I have found the block under "Admin Texts Translation" and already Did "Add to string translation" but it is not added |
December 19, 2023 at 7:05 pm #15096175 | |
josephN-9 |
2. Another is- I have tried to register a new Elementor widget as your reference https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/#using-wpml-config-generator-for-elementor But step number 3 : After published the page then I return to the WordPress edit screen for that page but there is no section with labeled as your doc attachment. New threads created by Osama Mersal and linked to this one are listed below: https://wpml.org/forums/topic/register-a-new-elementor-widget/ |
December 20, 2023 at 11:54 am #15101721 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. 1) I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your answer will be private, meaning only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical. ✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site. 2) we try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster. Therefore, I've split the other ticket and created a new ticket with this issue. (https://wpml.org/forums/topic/register-a-new-elementor-widget/) Best regards, |
December 20, 2023 at 12:22 pm #15101847 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for the access details. I checked the issue and was able to fix it by translating the footer slug, not the footer ID. (hidden link) Please check if the footer works correctly in both languages. Best regards, |
December 20, 2023 at 12:54 pm #15102185 | |
josephN-9 |
Okay, but how can I translate header ? It is totally coming from theme option(Header builder) |
December 20, 2023 at 1:06 pm #15102705 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I've translated it as the footer via WPML-> String Translation. (hidden link) Please check it and let me know if it works correctly. Best regards, |
December 20, 2023 at 1:58 pm #15103291 | |
josephN-9 |
Hi there, After translate that It doesn't behave as RTL, Would I able to translate default english header to ARABIC by locally(From string translation) the LOGO, WEATHER TEXT, SUBMIT NEWS BUTTON ?? It would be perfect because it is behaving RTL in ARABIC version |
December 20, 2023 at 6:34 pm #15105515 | |
josephN-9 |
Hi osama, Please reply to me |
December 21, 2023 at 9:06 am #15107805 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Sorry for the late reply. My shift was over, so I didn't see your replies. I don't think this is possible because even if you have one header, it will be RTL in Arabic because of the theme CSS files. If you need the header to react differently, please consult your theme support team regarding this. Best regards, |
December 21, 2023 at 11:19 am #15109337 | |
josephN-9 |
Hi there, Now I have Default language is ARABIC and it behaves In RTL but Could I just able to change the Logo,Submit news button, Weather text When it in ENGLISH ???- hidden link |
December 21, 2023 at 12:02 pm #15109867 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I tried translating the header button using ST, but it's not reflecting on the front end. (hidden link) The workaround is to translate the header and use separate headers per language. Best regards, |
December 21, 2023 at 12:57 pm #15110339 | |
josephN-9 |
Hi there, Thanks for your suggestion. But couldn't able to translate by slug from "string translation" after searched by "pchdbd_all" > I think it doesn't shows exact header. This is not my header that I have built now. By the way would you tell me the trick to get the slug for header ? |
December 21, 2023 at 1:16 pm #15110507 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) I translated the header. (hidden link) Please check if it works correctly. 2) To get the header title, hover over the template and click Quick Edit. (Kindly check the attached screenshot) Best regards, |
December 21, 2023 at 5:04 pm #15112407 | |
josephN-9 |
Hi Osama, As a result the english header and footer shown when I am in Arabic version. 2. Automatically remove the " Menu language switcher" Please let me know, what's wrong with it |
December 22, 2023 at 11:33 am #15116523 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) I've found a workaround for the header and footer by adding the English templates in (Theme option > Logo & Header > General Header Builder and theme option > Footer) and translating them via String Translation. Please check if the header and footer work correctly in both languages. 2) What is the issue with the language switcher? Best regards, |