[Resolved] Avada Post Card button isn't translated
This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was facing an issue where translations added in the Advanced Translation Editor were not displayed on the search page. Specifically, the client mentioned that the Post Cards created with the Avada theme were translated into English, but the button with the permalink was not translated. The client was using multiple dynamic values such as Post title, Post type name, Excerpt, and Permalink. Solution:
If you're experiencing a similar issue with translations not appearing on your search page, we recommend the following steps:
1. Ensure that you have translated the page where the search functionality is present.
2. Translate the Postcard Template used on the search page.
3. Translate the Search template itself.
4. After translating the Search template, edit the translated version to select the translated Postcard template.
Please note that this solution might not be applicable to your case if it's outdated or if your website setup is different. We highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us, and we'll be happy to help.
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.
I think the provided URL would give enough information, but in Avada I use Post Cards. I have translated these to English but the button with permalink isn't translated.
I use multiple dynamic values:
1. Post title
2. Post type name (aren't all translated correctly either)
3. Excerpt
4. Permalink (button)
I can provide you with login details? Can I share these safely here?
Thanks for your reply. I checked the read more button URL, and it's correct. The issue is in the button string.
Please go to WPML-> String Translation and search for "Lees meer" and translate it.
If that didn't fix the issue, 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.
1) I deactivated the plugins to check the issue, but I faced a fatal error that only appeared in the dashboard. I also tried using the provided FTP details, but they did not work.
To enable it, open your wp-config.php file and look for the following line:
define('WP_DEBUG', false);
And change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Then, try reproducing the issue and checking if any errors were saved to the debug.log log file inside the /wp-content/ directory.
It would be great if you could paste your debug.log to https://pastebin.com/ and provide me with that link!
If you can see a plugin name in error, please rename this plugin's folder and check the dashboard.
2) For the settings page error issue, please try the following steps:
1- Take a database backup
2- Go to wp_options table
3- Search for the "icl_sitepress_settings" key
4- Delete this key
5- Go to your site's dashboard
6- Re-install WPML
❌ Please backup your database before performing the above steps ❌
1) Perfect! I tried some workarounds with no luck. Please log in to this sandbox site and install Avada only. (hidden link)
After that, please create a test postcard for search and translate it to replicate the issue. If the issue is replicable, please let me know so I can check it and consult our compatibility team.
2) For the settings page issue, it seems that some custom field translation preferences are not correct, so please try the following steps:
1- Take a database backup
2- Go to wp_options table
3- Search for the "icl_sitepress_settings" key
4- Delete this key
5- Go to your site's dashboard
6- Re-install WPML
❌ Please backup your database before performing the above steps ❌
I have created the sandbox website. I recreated a page, the search page layout and the post card. I have the following issues:
1. Avada layout (for translation of title and results texts)
-> I go to an empty transltations queue (instead of advanced translation editor)
2. The created postcard is gone in the Avada library. I shows (1) post card, but I cannot select it on any language. This way I can't translate it as well. When I select the post card from the admin bar I go to the AVADA LIVE editor of the homepage instead of the post card.
On the sandbox, the exact same issue is happening. The Read More button isn't translated into Dutch (I have added some Dutch text, but it keeps saying: 'Read More'. See screenshot.
That's not the only thing not getting translated. The singluar and plural aren't translated properly, there is only a 'before' parameter.
--
On the live site, can we continue working on it, or should we wait until this issue is being solved?
Can I do this you said earlier?
2) For the settings page issue, it seems that some custom field translation preferences are not correct, so please try the following steps:
1- Take a database backup
2- Go to wp_options table
3- Search for the "icl_sitepress_settings" key
4- Delete this key
5- Go to your site's dashboard
6- Re-install WPML
--
Re-install WPML isnt deleting translations? not quite sure what actions to do at step 6
1) I checked the issue on the sandbox site, and the button is translated correctly when you select the translated postcard in the translated search template. (hidden link)
You can manually translate the result string from the same template.
2) These steps shouldn't delete your translations, but please create a backup before doing them.