Skip Navigation

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

Problem:
You created a table using TablePress, which generates a shortcode to display the table on a page. However, this shortcode does not appear in the Advanced Translator, and you are unsure how to make the shortcode translatable across different languages.
Solution:
We have two main recommendations if you're facing this issue:
1. The simplest approach is to create separate tables for each language and manually replace the shortcode in the translation by editing it directly in the WP editor.
2. Alternatively, you can use a single table and apply a filter to display only the columns relevant to the selected language. This method was suggested by the plugin author.
For more detailed instructions and a third, more complex option, please visit the following link: https://wpml.org/errata/tablepress-tables-cant-be-translated/

Please note that these solutions might become outdated or may not apply to your specific case. We highly recommend checking 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 these solutions do not resolve your issue, please open a new support ticket at our support forum.

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 4 replies, has 2 voices.

Last updated by Lauren 5 months, 4 weeks ago.

Assisted by: Lauren.

Author Posts
November 5, 2024 at 3:57 pm #16368030

mariaG-51

Background of the issue:
I created a table using Tablepress. This plugin generates a shortcode to print the table on the page. However, it doesn't appear in the Advanced Translator. I guess I have to create a different table for each language and then show different shortcodes.

Symptoms:
The shortcode generated by Tablepress does not appear in the Advanced Translator.

Questions:
How do I make the shortcode translatable?

November 5, 2024 at 6:42 pm #16368818

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have escalated this issue to our compatibility team and will update here once I have more information.

November 7, 2024 at 2:33 pm #16378210

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I checked with our compatiblity team and it seems the plugin author does not have the intention of making TablePress fully compatible with WPML. So here are the two options:

1. The easiest solution would be to create two tables and manually replace the shortcode in the translation (meaning editing the translation in the WP editor) like you already did.

2. There is a second option suggested by the author is to have one single table and using filter to display only columns in the right language.

You can find these workarounds plus a 3rd more complex option here:
https://wpml.org/errata/tablepress-tables-cant-be-translated/

November 7, 2024 at 4:21 pm #16379085

mariaG-51

Solution 1 is not an option, as I cannot use the WP editor to change the content of a page created with Elementor. It shows an empty page, with nothing to edit and nothing to translate.

Option 2 sounds interesting, but I don't know if showing the correct columns for each language will be possible.

I'll take a look at that option 3 and see if it works

November 7, 2024 at 5:09 pm #16379422

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Sounds good. Also, feel free to reach out to the Tablepress author, perhaps if he has enough requests he will consider making it fully compatible.