This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed to translate a link on a button to English, but encountered a message indicating that the string could not be translated automatically because it was not in the site's default language. Solution: We recommended the following steps: 1. Go to WPML String translations and scroll to the bottom, then click on "Translate texts in admin screens »". 2. Search for the ID of the theme option button URL, which in this case is
"btn_link_v1"
. 3. Click on "Add to String Translation" button to add it to the string translation list. 4. Return to WPML String Translation and switch the default language as previously indicated. For more detailed instructions, please refer to our documentation on Finding strings that don’t appear on the String Translation page. We have added the string for the client, and the website should now display the translation correctly.
If this solution doesn't look relevant, please open a new support ticket in our 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.
We have a link on a button that we need to translate to EN and the string appears on the string translation but we can't translated because it shows this message "Selected strings are not in the site's default language and will not be translated automatically if you're using the "Translate Everything Automatically" mode. Instead, after sending them for translation here, you need to go to the WPML -> Translations page and translate them manually."
Thank you for contacting WPML Support, I will be happy to help you today.
It seems that the default language on that string is set to English and that’s why you are seeing that text message.
Please while checking the checkbox next to the string, click on the button “Change the language of selected strings” and search for Portuguese and click on the the version you are using as a default language on your website. (check image attached
I noticed from the screenshots that you are adding that button from a theme option and not from an Elementor.
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 if possible –
in order to be of better help and check if some configurations might need to be changed.
Your next answer will be private, which means only you and I can access it in order to provide the login details.
Note: Please make sure you have a full backup (database and files) of your website before sending any access details.
Given that it was a theme option, you needed to check for the sting in:
- WPML String translations -> scroll to bottom and click "Translate texts in admin screens »"
- then search for the ID of the theme option button url (which checked from the chrome developer tools it is "btn_link_v1")
- click "Add to String Translation" button which adds it to the string translation list
- then go back to WPML String Translation and switch the default language as shown in my previous message