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 1 reply, has 2 voices.

Last updated by Marcos Vinicios Barreto 1 month ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
September 16, 2019 at 10:59 am #4579499

wl-partnersW

Hello! I've been searching this forum and learned a lot about adding shortcodes to be able to translate.
But some are not translated. Here is an example.
In Strings Translation I have the following domain:
page-builder-shortcode-strings-563

The main language which is portuguese have this code:
[trx_sc_testimonials type="default" orderby="post_date" order="desc" slider="1" title_style="default" title_align="center" count="3" columns="1" title="Discurso Direto"]

And the english translation have this:
[trx_sc_testimonials type="default" orderby="post_date" order="desc" slider="1" title_style="default" title_align="center" count="3" columns="1" title="Direct Speech"]

Notice that in this case what is changed is the value "title".

I even added the following to wpml-config.xml:

<wpml-config>
<shortcodes>
<shortcode>
<tag>trx_sc_testimonials</tag>
<attributes>
<attribute>title</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>vc_custom_heading</tag>
<attributes>
<attribute>title</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

Why this string doesn't get translated? This is just an example. I have a couple of more like this, but the concept is the same. I guess if one is solved, all the others will be.

Thanks in advance

September 16, 2019 at 6:47 pm #4583265

Marcos Vinicios Barreto
Supporter

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

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

Hello,

Thank you for contacting WPML Support. In which page are you using the mentioned shortcodes? It would help me to take a details look in order to understand the cause of your issue, also some WordPress Dashboard access details are required for a detailed investigation, for that, please consider:

I would like to request temporary access (wp-admin and FTP) to your site to take 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.

The topic ‘[Closed] Translate ThemeREX shortcodes’ is closed to new replies.