Skip Navigation

Resolved by author

Resolved in: Spectra 2.12.8

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:
    1
    2
    3
    4
    5
    6
    7
    8
    <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.