Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are unable to translate certain strings in WPML because they are locked and detected as 'numeric' instead of 'text'. These strings are related to WooCommerce email settings for subscription manual renewal reminders.
Solution:
The strings are locked because they are pre-configured to always be available for translation within WPML's String Translation. If these strings are showing as 'numeric' and have no value, it is likely because they are empty in the WooCommerce email settings. To resolve this, you need to fill in the subject and heading fields in the WooCommerce settings at WooCommerce > Settings > Emails > Subscription Manual Renewal Reminder. Once these fields are populated, the strings will appear as 'text' in the 'Translate texts in admin screens' and will be available for translation in WPML -> String Translation.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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 5 replies, has 3 voices.

Last updated by Mateus Getulio 5 months ago.

Assisted by: Mateus Getulio.

Author Posts
July 24, 2024 at 7:31 am #15996461

andreaA-45

Background of the issue:
I would like to translate strings but WPML won’t let me do it because they are locked. The strings must be like type 'text' and not 'numeric'.

In particular these:
[woocommerce_asp_erws_customer_subscription_manual_renewal_reminder_settings]subject
[woocommerce_asp_erws_customer_subscription_manual_renewal_reminder_settings|heading

Symptoms:
WPML won’t let me translate strings because they are locked.

Questions:
How to change the type 'numeric' into 'text'?

July 24, 2024 at 7:58 am #15996645

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.

As I can see in your image, it says it is registered and locked, which means it is already added for translation, and this rule is set by a plugin, as part of WPML compatibility.

So, simply you should go to WPML > String translation and search for that string and translate.

Regards,
Drazen

July 24, 2024 at 8:09 am #15996729

andreaA-45

It isn't in the string translation.

Screenshot 2024-07-24 alle 10.09.34.png
July 24, 2024 at 2:04 pm #15998878

andreaA-45

I need support.

July 24, 2024 at 2:22 pm #15998979

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

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.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- 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.

July 24, 2024 at 8:56 pm #16000455

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Andrea,

Thank you for sharing that access.

I checked it and the reason those fields are locked is that they're pre-configured to always be available for translation within String Translation. In other words, it is not that you can't add them to the string translation, they're locked so they're always available.

Moreover, they're detected as numeric and showing no value, because they're empty inside the WooCommerce email settings here(WooCommerce > Settings > Emails > Subscription Manual Renewal Reminder):

hidden link

As a test, I temporarily added a subject to the renewal reminder email. After doing it, the string showed as 'text' in the 'Translate texts in admin screens' and was available for translation inside WPML -> String Translation, please check the screenshots. I reverted the subject to the previous state.

In summary, once you fill up hidden link">the information here, you'll be able to translate those items hidden link">inside the String Translation screen.

Please give it a try and let me know.

Thank you,
Mateus

text type.jpg
string translation.jpg