This thread is resolved. Here is a description of the problem and solution.
Problem:
The client's strings were not showing as translated on the front end.
Solution:
We recommended adding a specific line of code to the theme's functions.php file to ensure the textdomain is loaded correctly. Here are the steps to follow:
1. Navigate to
wp-content/themes/altair-bsp/functions.php
.
2. Add the following code:
load_theme_textdomain( 'altair-bsp', get_template_directory().'/languages' );
This solution is a workaround, and it's possible that the client had a similar fix in place previously in a different file named functions_orig.php.
If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket in the 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.
This topic contains 2 replies, has 2 voices.
Last updated by 1 year, 5 months ago.
Assisted by: Christopher Amirian.