Home›Support›English Support›[Resolved] Woodmart theme Product Tab title translation is Registered and locked
[Resolved] Woodmart theme Product Tab title translation is Registered and locked
This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're unable to find and translate the Product Tabs title string [xts-woodmart-options]additional_tab_title using WPML, and it appears as 'Registered and locked' in the Admin Texts Translation page, this might be due to corrupt entries in your database.
Solution:
We recommend logging into your site’s database using tools like PHPMyAdmin after taking a full site backup. Run the following query to correct the issue:
UPDATE wp_icl_strings SET string_package_id = NULL WHERE string_package_id = 0 AND context LIKE 'admin_texts_xts-woodmart-options'
After applying this fix, verify that everything is working as expected. If similar issues occur with other string domains, you can use the following query as a workaround, but only after ensuring you have backed up your site:
UPDATE wp_icl_strings SET string_package_id = NULL WHERE string_package_id = 0
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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.
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.
<b>Background of the issue: </b>
I am trying to translate the Product Tabs title string [xts-woodmart-options]additional_tab_title using WPML. The issue can be seen on this page: hidden link.
<b>Symptoms: </b>
I can no longer find the string via string translation and have to search for it on the Admin Texts Translation page. Then it shows up but it says 'Registered and locked'.
<b>Questions: </b>
Why is the string showing as 'Registered and locked'?
I also want to add that this is a custom text that you can add to the product tabs in Woodmart theme. See screenshot. And I was able to translate these before.
I also tried to search strings with "exact match" option ticked but no luck.
New threads created by Bigul and linked to this one are listed below:
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Does it happen with other strings? Please untick the *Exact match* (as per the following screenshot) option and search the string by *Ask a question about* or *Ask a*. Then ensure it shows the string for translation or not.
Becuase if a string is showing as Register & Locked in WPML>>String Translation>>Register admin and settings strings for translation, it will be listed for translation.
Also, please visit WPML>>Translation Management Dashboard, and scroll down to *Other texts (Strings)* section and check this string is showing for translation or not. Refer to the attached image for more details.
Please note that I have opened a new ticket for the *custom text* issue. As per our support policies, we can address only one problem per ticket. This approach allows us to assist you more efficiently and keeps discussions focused. I will respond to the new ticket shortly. I appreciate your understanding.
Hello Bigul,
the issue concerns the title of the Product Tabs element by Woodmart theme. So it allows you to enter a custom title. And I did so and translated it successfully before. I recently renamed one of the tabs and then noticed I can no longer find and translate it in string translation.
I searched for it with "exact match" unchecked and could not find it.
And I tried the "Translation Management - Other strings" too, it does not appear there.
What I also tried to do is scanning Woodmart theme again for strings, but it does not help.
What I'm looking for, the " [xts-woodmart-options]additional_tab_title " seems nowhere to be found
Thank you for the updates. Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the login information. This requires more testing. So please allow me to make a copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.
Sorry for the confusion, this requires further debugging. So we were waiting for your permission to make a copy of the site. Please check my last message. Thank you for your kind understanding.
The bug exists after the initial troubleshooting steps. So consulting with our team for an expert opinion now. We will get back to you as soon as possible. Please wait.
Sorry for the late response because of the holidays. The ticket is in the escalation stage to our second-tier team. But we are not able to access your site now - hidden link.
It shows the following warning. Can you please check it.
Sorry, you have been blocked
You are unable to access onrocket.site
Hello Bigul,
please use my staging site. I can't provide access to the production site. Also the production site is not available in all countries that's why it shows that messages, it can only be visited from Europe/USA.
I already provided access to staging
Sorry for the very late response. The issue turned out to be more complicated than expected. It works fine in our fresh and test installations.
After several rounds of testing, we discovered that the problem is caused by corrupt entries in the database.
For many strings—including those from the admin_texts_xts-woodmart-options strings domain (related to the WoodMart theme options), the string_package_id of wp_icl_strings table was incorrectly set to 0 instead of NULL.
Running the following query fixed the issue on your staging site. Please refer to the attached images for more details, and let us know your feedback:
UPDATE wp_icl_strings
SET string_package_id = NULL
WHERE string_package_id = 0
AND context LIKE 'admin_texts_xts-woodmart-options'
We recommend logging into your live site’s database (after taking a full site backup, which is mandatory) using tools like PHPMyAdmin and running this query. Then check to ensure everything is working as expected.
In the future, if you encounter similar issues with other string domains, you can use the following query as a workaround—again, only after taking a full site backup:
UPDATE wp_icl_strings
SET string_package_id = NULL
WHERE string_package_id = 0