Skip to content
Public Ticket #20396

WPML translations

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

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

Regards,
PenciDesign.


MarekKrzeminski replied

Customer Reply

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>

MarekKrzeminski replied

Customer Reply

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

Customer Reply

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.

MarekKrzeminski replied

Customer Reply

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>

PenciDesign Supporter replied

Staff Reply

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 started the conversation

Conversation Start

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

Want to join this conversation or access attachments? Sign in first.