WPML
Status
Resolved by author
Resolved in
Spectra 2.12.8
Related plugin/theme
Spectra
Topic tags
Compatibility

Overview of the issue

You may experience difficulties translating the submit button text in forms created with the Spectra plugin. Although the button text appears in the Advanced Translation Editor (ATE), it is not translated on the front end.

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Go to WPML > Configuration > Custom XML Configuration page.
  • Add the following XML:
    <wpml-config>
      <gutenberg-blocks>
        <gutenberg-block type="uagb/forms" translate="1">
          <key name="submitButtonText"/>
          <xpath>//button/div</xpath>
        </gutenberg-block>
      </gutenberg-blocks>
    </wpml-config>
  • Add a small modification to your form and translate it again.

All known issues →