This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're unable to find the right string to translate the WooCommerce / Avada 'Out of Stock' badge on your product pages, Solution:
We recommend you try the following steps:
- Navigate to WPML -> String Translation and click on 'Translate texts in admin screens »'.
- Search for 'Out of Stock'.
- Select and add to the string translation the following strings:
- Return to WPML -> String Translation and search for 'out of stock'.
- Translate the newly added strings.
After completing these steps, the 'Out of Stock' badge should display correctly translated in all secondary languages.
Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. 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.
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.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello,
Please go to WPML -> String Translation and enable the option "Look for strings while pages are rendered", then visit the page in which the badge is located and go back to the String Translation, refresh the page and check if you'll be able to locate the out of stock string now. (Please don't forget to uncheck the option "Look for strings while pages are rendered" once you're done). Translate the string and see if it gets the issue fixed.
If the issue persists, I would like to request temporary access (wp-admin and FTP) to your site to take 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 backup the site before providing us access. In the event that 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.
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
Thank you for sharing that access.
I was able to locate, include and translate that string by following the steps:
- Go to WPML -> String Translation and click on 'Translate texts in admin screens »'
- Search for 'Out of stock'
- Select and add to the string translation the following strings: admin_texts_fusion_options_sv, admin_texts_fusion_options_fi and admin_texts_fusion_options_fr
- Go to WPML -> String Translation and search for out of stock
- Translate the new added strings
Now when I check the secondary languages, the badge show properly translated in all of them.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.