Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3005159
WPML translations
Closed

Comments

  • MarekKrzeminski started the conversation

    WPML plugin can't translate some penci widgets. Can you provide reqistration XMLs do translations can be done?

  •  2,610
    PenciDesign replied

    Hi,

    Can you send me some text on your site you can't translate? I'll check then send you a quick solution.

    Regards,
    PenciDesign.


  • MarekKrzeminski replied

    Menu page for all languages - https://www.swiezo-upieczona.com.pl/menu/

    Opening hours on the Menu page at the bottom

    Icons with text on the Menu page at the bottom

    About page for all languages - https://www.swiezo-upieczona.com.pl/kontakt/

    Contact page for all languages - https://www.swiezo-upieczona.com.pl/kontakt/


  • MarekKrzeminski replied

    so far I've started creating xml reigistration file as workaround:

    <wpml-config>
      <elementor-widgets>
        <widget name="penci-fancy_heading">
          <fields>
            <field type="Subtitle" editor_type="LINE">p_subtitle</field>
            <field type="Title" editor_type="LINE">p_title</field>
            <field type="Content" editor_type="LINE">content</field>
          </fields>
        </widget>
      </elementor-widgets>
    </wpml-config>


  •  2,610
    PenciDesign replied

    Hi,

    You can use the WPML String Translation plugin to translate all your text easily, please read the document detail here: https://wpml.org/documentation/getting-started-guide/string-translation/

    Regards,
    PenciDesign.


  • MarekKrzeminski replied

    You can't find any text for translation until you register widget into WPML config. That's the problem.

    You should provide xml registration files to make it compatible with WPML.

  •  2,610
    PenciDesign replied

    Hi,

    Here is the document you should read: https://wpml.org/documentation/plugins-compatibility/elementor/

    Regards,
    PenciDesign.


  • MarekKrzeminski replied

    Thanks. I've read this as well and contacted WPML support who told me to contact author of Penci widgets to provide register xml files, so they can be detected and translated.

  • MarekKrzeminski replied

    I am sending you a wpml.config file for a couple of your widgets so you can attach them to the theme:

    <wpml-config>
      <elementor-widgets>
        <widget name="penci-fancy_heading">
          <fields>
            <field type="Subtitle" editor_type="LINE">p_subtitle</field>
            <field type="Title" editor_type="LINE">p_title</field>
            <field type="Content" editor_type="LINE">content</field>
          </fields>
        </widget>
        <widget name="icon-box">
          <fields>
            <field type="Title" editor_type="LINE">title_text</field>
            <field type="Description" editor_type="LINE">description_text</field>
          </fields>
        </widget>
        <widget name="penci-info-box">
          <fields>
            <field type="Title" editor_type="LINE">title_text</field>
            <field type="Subtitle" editor_type="LINE">subtitle</field>
            <field type="treadmore" editor_type="LINE">treadmore</field>
            <field type="Description" editor_type="LINE">description_text</field>
          </fields>
        </widget>
         <widget name="penci-open-hour">
          <fields-in-item items_of="working_hours">
            <field type="Title" editor_type="LINE">title</field>
            <field type="hours" editor_type="LINE">hours</field>
            <field type="Subtitle" editor_type="LINE">subtitle</field>
            <field type="heading" editor_type="LINE">heading</field>
          </fields-in-item>
        </widget>
      </elementor-widgets>
    </wpml-config>


  •  2,610
    PenciDesign replied

    Hi,

    Thank you for your information. I'll check all theme files then update the wpml.config file soon.

    Regards,
    PenciDesign.