• Resolved Lyk

    (@lyk-1)


    Hello!

    I recently started using Unlimited Elements and I find it quite nice and flexible.

    However, I am having trouble with some translation string when using WPML.
    More specifically, I have a simple Card Carousel that has a couple of items.
    How can I translate the strings in these items?

    Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Unlimited Elements

    (@unitecms)

    Hi. Please follow this tutorial.
    Its the oly way right now
    https://unlimited-elements.com/docs/working-with-wpml/
    Also you can write our support and we will help you.

    Thread Starter Lyk

    (@lyk-1)

    Will this help WPML recognise titles and content inside each carousel item?

    Or is it just to hardcode translations?

    Thank you!

    Thread Starter Lyk

    (@lyk-1)

    After working with the issue, it seems that the instructions here will only help if one needs to hardcode translations.

    I have been trying to follow the instruction here: https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/ but I cannot make it work for Unlimited Elements.
    Been trying something like the following but it is not correct:

    <wpml-config>
        <elementor-widgets>
           <widget name="card_carousel">
            <fields-in-item items_of="Item">
             <field type="Slider: Title" editor_type="LINE">title</field>
             <field type="Slider: Content" editor_type="AREA">content</field>
             <field type="Slider: Button Text" editor_type="LINE">btn_text</field>
           </fields-in-item>
          </widget>
        </elementor-widgets>
    </wpml-config>

    Not sure if the fields names and items_of attribute are correct.

    Any insights? Thank you!

    Plugin Author Unlimited Elements

    (@unitecms)

    No its not hardcoded you can create a dynamic field for each field like
    English Title / French title and both of them will be editable.
    In the item attributes you make the extra field and then in the html
    you add the twigg code to make it one for english and one for french.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Card Carousel and WPML’ is closed to new replies.