[Resolved] Responsive Pricing Table plugin texts are not translated
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with translating texts from tables embedded into a page using the
[rpt name="pricing"]
shortcode and they are not showing up in WPML. Solution: 1. Navigate to WPML > Settings: - In the Post Types Translation section, set the post type "Pricing Tables (rpt_pricing_table)" to "Translatable - only show translated items". - In the Custom Fields Translation section, click on "Show system fields" and set the field "_rpt_plan_group" to "Translate". 2. Go to Pricing Tables, edit the pricing post, and translate it. Note that the shortcode in English is
[rpt name="pricing"]
and in Spanish, it is
[rpt name="pricing-es"]
. 3. In WPML > Settings > Custom XML Configuration tab, add the following code to register the
shortcode, click on Update, and then update the shortcode name attribute to "pricing-es" in the Advanced Translation Editor. Refer to the following documentation for more details:
Languages: English (English )Spanish (Español )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello, welcome to the WPML support Forum!
While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.
Which plugin are you using to create the tables?
This seems to be a new compatibility issue. In these cases, these are the procedures:
- Install the plugin in a clean installation and reproduce the problem in this new installation. So we can isolate it and do some testing without the interference of server settings or other plugins
- After this, we will check the problem in this new installation and look for a quick solution
- If we can not find a solution, we will forward the problem to our compatibility team
- The compatibility team will do some more testing and will contact the product author to fix the issue
I created a test website with a clean WordPress install. You can access it through this link: hidden link - Through this link you will be automatically logged in.
Please upload the plugin to this test install, setup it the same way as in your website (using the same options) and create some dummy content to reproduce the issue. Please note that we only need the plugin and the related functionality, you don't need to setup a entire website or clone your existing site.
After that, please send us clear steps on how to see/reproduce the issue on this test install. We will run some tests.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
I've done the steps below to translate the pricing table on the sandbox site. You can apply them on your site and see how it goes.
1. Go to WPML > Settings:
- Post Types Translation section: Set the post type "Pricing Tables (rpt_pricing_table)" preference to "Translatable - only show translated items".
- Custom Fields Translation section: click on the button "Show system fields" > Set the field "_rpt_plan_group" preference to "Translate".
2. Go to Pricing Tables > Edit the pricing post > Translate it. You can see the shortcode in English is [rpt name="pricing"] and in Spanish is [rpt name="pricing-es"]
3. Go to WPML > Settings > Custom XML Configuration tab > Add the code below to register the [rpt] shortcode for translation.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.