Skip Navigation

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

Problem:

Enfold- Icon Grid widget strings are not shown for translation in WPML's Translation Editor.

Solution:

1. Go to WPML -> Settings -> Custom XML Configuration (tab).

2. Insert this code.

<wpml-config>
    <shortcodes>
        <shortcode>
            <tag>av_icongrid_item</tag>
            <attributes>
                <attribute>title</attribute>
                <attribute>subtitle</attribute>
                <attribute type="link" encoding="av_link">link</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

3. Save the changes.

4. Go to the editing screen of the page/post where the Icon Grid is inserted and update it.

5. Translate the page with the Translation Editor, and you will have the option to translate the Icon Grid texts.

Relevant Documentation:

https://wpml.org/documentation/support/maintaining-avia-layout-builder-enfold-compatibility-wpml/

https://wpml.org/documentation/support/language-configuration-files/

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.

This topic contains 3 replies, has 2 voices.

Last updated by Itamar 4 years, 4 months ago.

Assisted by: Itamar.

Author Posts
November 19, 2019 at 9:24 pm #4975903

lptornade

Tell us what you are trying to do?
Translate the text I wrote in french to english

Is there any documentation that you are following?
No all the other text are there except the icon grid's one

Is there a similar example that we can see?

What is the link to your site?
hidden link

Capture d’écran, le 2019-11-19 à 16.18.09.png
Capture d’écran, le 2019-11-19 à 16.17.34.png
November 21, 2019 at 3:57 pm #4990435

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

Can you please confirm that you are following our instructions at the following link on how to work with WPML and the Enfold theme?
https://wpml.org/documentation/theme-compatibility/enfold/

By looking at the debug info that you have attached, I can see that your server WP Memory Limit is set to 40M.
Our recommendations are to have the following as minimal requirements:
- PHP 5.6 and above (this OK with your installation) with a WP Memory Limit of at least 128MB and more if possible.
- MySQL 5.6 and above.
Please follow this link for detailed documentation:
https://wpml.org/home/minimum-requirements/
Is it possible for you to change those to the minimum requirement?
You may need to contact your hosting provider for that.
Meeting those baseline requirements is most critical before starting to debug and sometimes solves issues like you experiencing.
Most important is to raise the WP Memory Limit.
Please try to raise it before you contact your hosting company.
You can try and do it from the wp-config.php file in your WordPress installation.
Insert this code in that file.

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Add it before this line:
/* That's all, stop editing! Happy blogging. */

Could you please perform that procedure and see if it help?

Thanks,
Itamar.

November 24, 2019 at 1:50 pm #5006771

lptornade

No it did not help...

--removed by supporter--

November 25, 2019 at 10:47 am #5011147

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

You can add support for the Icon Grid element of the Avia builder in this way.

1. Go to WPML -> Settings -> Custom XML Configuration (tab)/

2. Insert this code.

<wpml-config>
    <shortcodes>
        <shortcode>
            <tag>av_icongrid_item</tag>
            <attributes>
                <attribute>title</attribute>
                <attribute>subtitle</attribute>
                <attribute type="link" encoding="av_link">link</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

3. Save the changes.

4. Go to the editing screen of the page/post where the Icon Grid is inserted and update it.

5. Translate the page with the Translation Editor, and you will have the option to translate the Icon Grid texts.

It worked for me on my test site. You can read all the detailed explanation in our documentation at the following links.
https://wpml.org/documentation/support/maintaining-avia-layout-builder-enfold-compatibility-wpml/
https://wpml.org/documentation/support/language-configuration-files/

please let me know if this solves the issue on your site and if so, please mark this ticket as resolved.

Thanks,
Itamar.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.