[Resolved] Template translated but not show the translations.
This thread is resolved. Here is a description of the problem and solution.
Problem: You are using the Elessi WooCommerce Ajax WordPress theme and are trying to translate your site into Armenian and Russian. However, you are experiencing issues where translations are not appearing consistently across different areas of your site. Solution: We recommend modifying your theme's functions.php file to ensure translations load correctly. Here are the steps you should follow: 1. Open your theme’s functions.php file. 2. Locate line 53. 3. Replace the existing code on this line:
unload_textdomain('elessi-theme');
with:
unload_textdomain('elessi-theme', true);
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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 problems persist, please open a new support ticket at WPML support forum for further assistance.
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'm using the hidden link theme and want to translate to Armenian and Russian. I am trying to see the translated template on my site. The issue can be seen on this page: hidden link. Additionally, I provided a link to a file for further reference: hidden link.
Symptoms:
Themes and plugins have been scanned, but translations are only showing in some areas and not in others. Some strings are translated but not displayed.
Questions:
Why are some translations not showing?
How can I fix the problem of translations not appearing in certain areas?
As for the checkout page, I am sorry but I have not done anything related to that page or editing of the pages, only I checked string translations and its settings, also it worked fine at the time I was checking it.
I advise you to further recheck and try to fix the design for your default language checkout page, seems width is somewhere set wrong. If not sure from where, you can check with theme support.
Let me know if there is anything else I can do to help.
I was able to reproduce the issue on a new clean install, and it looks like a bug. I have escalated it to our compatibility team, I will update you when I have some news. Note it can take a day or two.
As from yesterday I have done nothing so the issue I got after support connection. But it's ok we will fix it. What's about the existing issue waiting for the answer. Thank you so much.
The solution worked and now everything is working fine. Just need to know is it WP 6.7 bug or template issue? As I found the issue info in WP 6.7 forums.
The issue comes from a change introduced in WP 6.7.
Please note that the issue has been resolved by the Elessi team in v6.3.0 (18 Dec 2024). You can update your theme safely.