 sergejsF
|
Hi, thank you for the update. And here are the answers:
1. Here is the test page we have created with the widget that we cannot add through XML: hidden link
2. This part might be resolved if I explain to you the next one
3. Footer: WPML->Translation Management->Filter by templates — The ones you see here: hidden link in green is translated/ The red ones do not need to be translated.
And the issue is not in translating them. The one that is already translated does not appear translated on the frontend. It alwasy shows English version on every language.
|
 Bobby
WPML Supporter since 04/2015
Languages:
English (English )
Timezone:
America/Los_Angeles (GMT-07:00)
|
Based on the JSON from Elementor
"widgetType": "pxl_slider_carousel",
"settings": {
"slider1": [
{
"sub_text1": "WELCOME TO ALSERG",
"title1": "Where Your Brand's Vision Becomes an Innovative Advertising Masterpiece.",
"btn_text1": "ABOUT US",
"btn_link1": {
"url": "/about-us"
}
},
...
]
}
This is the wpml-config.xml for this elemnent -- it requires fields as you have text, title, button text and button links.
<widget name="pxl_slider_carousel">
<repeaters>
<repeater name="slider1">
<fields>
<field type="LINE">sub_text1</field>
<field type="LINE">title1</field>
<field type="LINE">btn_text1</field>
<field type="LINK">btn_link1</field>
</fields>
</repeater>
</repeaters>
</widget>
unfortunately it looks like it's still not working even though everything is set up correctly.
In this case I'd recommend using the manual transation method outlined here:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/
3. For the Footer.
Since you are setting this in theme options we will need to translate the post ID.
The current footer's post ID is 230.
1. Go to WPML->string translations->"not seeing the strings you are looking for?" -> admin texts translations. (hidden link)
2. search for the ID '230'
3. Add it to String Translation
4. Go back to WPML->String Translation and translate it adding the Footer translation ID's
I've done this for you and it works OK now.
|