Overview of the Issue
When using the GreenShift Blocks and the dynamic text feature from the Greenshift Query and Meta Addon, values from an ACF option page do not display their translations on the frontend. This issue occurs even if the ACF option fields are correctly translated.
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
Please, make sure of having a full site backup of your site before proceeding.
- Go to WPMLSettingsCustom XML Configuration
- Paste the following code and click “Save”:
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="greenshift-blocks/text" translate="1" label="Advanced text">
<xpath>//*[contains(@class, 'gspb_text')]</xpath>
<key name="text" />
<key name="textContent" />
<key name="customAnchor" />
<key name="dynamictext">
<key name="dynamicField" />
</key>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>