Skip Navigation

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

Problem:
I put fancy text box to blog post but i couldnt translate them.. (On normal pages i can translate my fancy text box but on the blog post section i couldnt)
Solution:
We can try to add a code in the language configuration file in order to make the fancy text box translatable for posts. Please check our documentation related to this subject: https://wpml.org/documentation/support/language-configuration-files/#page-builder-content.

Let's test a possible solution. Please go to WPML -> Settings -> Custom XML Configuration and add these lines:

<wpml-config>
 <shortcodes>
        <shortcode>
            <tag>fancy_box</tag>
            <attributes>
                <attribute>link_url</attribute>
        <attribute>secondary_content</attribute>
        <attribute>hover_content</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

- If needed, add your additional attributes to the code and save it

- Go to the post in its original language and do a minor modification in the content (an extra space, for example)

- Then, open the translation through the Translation Editor, update and save it

Relevant Documentation:
https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

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.

Our next available supporter will start replying to tickets in about 2.20 hours from now. Thank you for your understanding.

This topic contains 3 replies, has 2 voices.

Last updated by ahmetC-6 1 month ago.

Assigned support staff: Mateus Getulio.

Author Posts
May 10, 2021 at 7:17 pm #8732687

ahmetC-6

Tell us what you are trying to do?
I put fancy text box to blog post but i couldnt translate them.. (On normal pages i can translate my fancy text box but on the blog post section i couldnt)
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

May 10, 2021 at 7:37 pm #8732785

ahmetC-6

I can give one time pass for checking if you need ...

May 11, 2021 at 2:42 pm #8741331

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Ahmet,

Welcome to our forum. I'll be happy to assist you with this!

We can try to add a code in the language configuration file in order to make the fancy text box translatable for posts. Please check our documentation related to this subject: https://wpml.org/documentation/support/language-configuration-files/#page-builder-content.

Let's test a possible solution. Please go to WPML -> Settings -> Custom XML Configuration and add these lines:

<wpml-config>
 <shortcodes>
        <shortcode>
            <tag>fancy_box</tag>
            <attributes>
                <attribute>link_url</attribute>
		<attribute>secondary_content</attribute>
		<attribute>hover_content</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

- If needed, add your additional attributes to the code and save it
- Go to the post in its original language and do a minor modification in the content (an extra space, for example)
- Then, open the translation through the Translation Editor, update and save it

It should be available for translation now. If it doesn't work for you, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

May 12, 2021 at 12:48 pm #8748671

ahmetC-6

My issue is resolved now. Thank you!