Home›Support›English Support›[Resolved] Number value shortcode is translated in ATE but the same output is given in both languages
[Resolved] Number value shortcode is translated in ATE but the same output is given in both languages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the number value shortcode is translated in the Advanced Translation Editor (ATE) but displays the same output in both languages. Solution: 1. Replace the existing code snippet in your
2. Make a minor edit to the page in the default language and update its translation. 3. If the issue persists, replace your shortcode:
[convertkit form=7682931]
with:
[convertkit form="7682931"]
and re-translate the page.
If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at WPML 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.
Background of the issue:
I've just had contact with someone from your support staff. They helped clarify and confirm the translation setup in both the custom XML configuration in WPML > Settings and the extra function needed in functions.php. So I got it visible in the ATE and translated it.
Symptoms:
The number value shortcode is translated in ATE but the same output is given in both languages. It seems to not actually translate the number.
Questions:
Why is the output the same when the ATE has different numbers in the shortcode?
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
Please log in to this hidden link">sandbox site and install the Kit plugin. Then, please try to replicate the issue. If it is replicable, please let me know so I can check it and consult our second-tier support team.
After that, please make a minor edit to the page in the default language and update its translation. Kindly check the hidden link">translated page on the sandbox site.
It doesn't seem to work on my website. I tried multiple times. Is there any other setting that might be different from the sandbox env and my site that might be making this difference?
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Please check the provided access details, as I get the following error. (Error: The username *** is not registered on this site. If you are unsure of your username, try your email address instead.)
Sorry about that I, fixed it and tested it you should be able to log in now.
Image links are broken in the staging site but that's not an issue with this I think.
Actually I see what I did wrong with the staging thing.. I need to re run it to correct it. let me know if I should do that first or after you've had a look.
// edit - no I don't know why it didn't work... Let me know if you'd rather try on the live site
I changed the language url format and the staging works correctly. I created a test page and translated the ID, but the translated form doesn't appear on the front end. (hidden link)
Please try the following steps on the staging site:
1- Deactivate all the plugins except those active ones on the sandbox.
2- Switch to a WordPress default theme like Twenty Twenty-one.
3- Make a minor edit to the hidden link">WPML TEST page and update its translation.
oeps,.. I did now and it showed up. So I put in the other short code from the number,.. but sadly it's not being translated. the text above was translated tho.