Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing an issue where the titles above the menus in their off-canvas menu were not automatically translating into English.

Solution:
We recognized this as a known issue with off-canvas elements and took the following steps to resolve it:
1. We added the following XML in the WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <shortcodes>
        <shortcode>
            <tag>fusion_button</tag>
            <attributes>
                <attribute type="link">link</attribute>
                <attribute>title</attribute>
                <attribute encoding="base64">dynamic_params</attribute>
            </attributes>
        </shortcode>    
  </shortcodes>
</wpml-config>

2. We made a small change in the default language Off canvas menu post and updated the secondary language post.
3. We navigated to Appearance >> Menus > Choose the Menu(Main navigation).
4. We switched to the English language using the admin language switcher.
5. We opened the "Learning & Development oplossingen" menu and clicked on the menu option.
6. We chose the translated off canvas menu as shown in the attached screenshot.

After these steps, the menu displayed correctly in the English language. We also provided an errata page for more details: https://wpml.org/errata/avada-new-off-canvas-elements-not-appearing-as-translated-in-the-front-end/

If this solution does not apply to your case, or if it seems outdated, we recommend checking the related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please do not hesitate to open a new support ticket with us.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Noman 2 years, 2 months ago.

Assisted by: Noman.

Author Posts
February 21, 2024 at 2:34 pm #15328719

robbertd-2

As shown in the attached screenshot, the titles above the menus in our off-canvas menu do not automatically translate into English. We have already consulted information from your website and tried to use the manual translation option, but unfortunately this does not work according to the steps indicated. Can you easily figure out what this point is?

February 22, 2024 at 9:10 am #15331993

robbertd-2

Hello Norman! Could you move this ticket to private so we can provide the credentials?

February 22, 2024 at 11:30 am #15333156

Noman

To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.

Thank you

February 25, 2024 at 9:07 am #15341204

Noman

Sorry for the wait, it was my weekend (Friday-Saturday) and thanks for sharing the login details.

It seems to be a known issue with off-canvas elements, so I’ve followed the below steps in order to fix this issue:

1. Added the below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <shortcodes>
        <shortcode>
            <tag>fusion_button</tag>
            <attributes>
                <attribute type="link">link</attribute>
                <attribute>title</attribute>
                <attribute encoding="base64">dynamic_params</attribute>
            </attributes>
        </shortcode>    
  </shortcodes>
</wpml-config>

2. Made a small change in the default language Off canvas menu post and updated the secondary language post.

3. Went to Appearnce >> Menus > Choose the Menu(Main navigation)

4. Switched to English language using admin language switcher.

5. Open on the “Learning & Development oplossingen” menu and click on the menu option.

6. Choose the translated off canvas menu as you can see in the attached screenshot.

Now it seems to be display the correct menu in English language as you can see in the attached screenshot.

Here is an errata page for more details:
https://wpml.org/errata/avada-new-off-canvas-elements-not-appearing-as-translated-in-the-front-end/

Could you please check and confirm?

Thank you

Tranlated menu.png
translated off canvas.png