[Resolved] Cannot find a Divi Theme Builder String For Translation
This thread is resolved. Here is a description of the problem and solution.
Problem:
Need to find the Divi Search Results page string Results for "%1$s" in order to translate it.
Solution:
This is a Theme Builder string under the et_builder domain that.
I was able to get the string to show up under WPML -> String Translation by scanning the theme for translatable strings. You can do this in the future by following these steps:
To scan for and register theme strings:
- Go to WPML -> Theme and plugins localization
- Scroll down to the Strings in the themes section
- Find Divi and check the box next to it
- Click the Scan selected themes for strings button
To translate the string:
- Go to WPML -> String Translation
- Search for the string using the search and filter options
- The correct string to translate in this case found under the et_builder Domain
- Click on translations next to the string to provide your translations
- Check the box next to Translation is complete
- Click the Save button
I am using DIVI "Post/Archive Title" to display the search title in a template for searches. Everything works correctly but the text "Results for %s" is shown in English, but in WPML I have the Spanish language active. DIVI automatically takes it from wordpress.
I have done with WPML the search for the string but I can't find this string "Results for %s" in order to translate it.
What can I do to translate it?
I took a quick look at a fresh copy of Divi and I see that the default "Search Results" strings for it are "Search results for %s" rather than "Results for %s". I was able to find this string by searching in WPML -> String Translation.
To investigate your issue further, I will require temporary access to your website.
Request for temporary access
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
Sorry about the slow response. We have a larger than normal number of support requests at the moment. However, I do have good news!
If you look at hidden link , you can see that the string is now translated properly.
I was able to get the string to show up under WPML -> String Translation by scanning the theme for translatable strings. You can do this in the future by following these steps:
- Go to WPML -> Theme and plugins localization
- Scroll down to the Strings in the themes section
- Find Divi and check the box next to it
- Click the Scan selected themes for strings button
To translate the string:
- Go to WPML -> String Translation
- Search for "Results for"
- The correct string to translate is found under the et_builder Domain
- Click on translations next to the string to provide your translations
- Check the box next to Translation is complete
- Click the Save button
I've attached some screenshots in case there is any confusion. Please do let us know if this helps you resolve your issue, and don't hesitate to reach out again if you need further assistance with this topic!