Skip Navigation

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

Problem:
The client is unable to translate the word 'or' to 'tai' in the 'WooCommerce all products for subscriptions' plugin, despite following the usual procedures. The string appears to be hardcoded, and the website's default language is set to English, which the client wishes to change to Finnish.
Solution:
First, ensure that the string 'or' that needs translation is the one located in the specific file and line as identified in the WPML String Translation search results. You can check this by visiting the following link: WPML String Translation.
If this is the correct string, and you have edited it slightly for it to work, please confirm if the issue is resolved. If you're still experiencing difficulties or if the solution provided here does not apply due to updates or differences in your case, we recommend opening a new support ticket. Additionally, 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 further assistance is needed, please contact us through the WPML 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.

This topic contains 8 replies, has 2 voices.

Last updated by Carlos Rojas 2 months, 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
July 1, 2024 at 10:48 am

jaakkoM-3

Background of the issue:
We are trying to translate the word 'or' to Finnish 'tai' on the 'WooCommerce all products for subscriptions' plugin. We have done everything as instructed, but still, the translation doesn't work. Furthermore, we have already contacted the plugin developer because the text is hard-coded, but they asked to contact you for a fix. Our website language seems to be forced to be English, so is it possible to change it to Finnish also?

Symptoms:
WPML translates everything else except one word in the 'WooCommerce all products for subscriptions' plugin. The word 'or' is not translating to 'tai'.

Questions:
How can we translate the word 'or' to Finnish 'tai' in the 'WooCommerce all products for subscriptions' plugin?
Is it possible to change the website language from English to Finnish?

July 1, 2024 at 11:12 am
July 1, 2024 at 11:13 am #15868069

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,
This is the ticket where we will continue working on this issue

I have set your next answer private so you can re-share the credentials because the one shared via chat didn't work.

Looking forward to your message.
Regards!

July 1, 2024 at 11:27 am
July 1, 2024 at 11:59 am #15868255

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

The credentials you shared are still incorrect, I get this error message: "ERROR: Incorrect Username or Password
2 attempt(s) left"

However, they are the correct credentials to access the site, because it is protected.

July 1, 2024 at 12:30 pm #15868519

jaakkoM-3

Try again now with same username and password. It should work now for protected window and also during login to dashboard.

July 1, 2024 at 1:06 pm #15868783

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thanks! This time I was able to access the site correctly.

Could you share the line and the file where the string can be found?

July 1, 2024 at 1:31 pm #15868897

jaakkoM-3

Text "or" is hardcoded in the Woo All Products For Subscriptions plugin file. I can't find where that text is located. Another tech support sent me that screenshot.

Woo All Products For Subscriptions translation.png
July 2, 2024 at 9:14 am #15873770

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thanks for your message.

The first string in this search result is the one that contains the 'or': hidden link

Can you confirm that the issue is solved?

July 2, 2024 at 11:11 am #15874613

jaakkoM-3

I had to edit translation little bit, but now it works! Edited string was or %s and Finnish translation is tai %s

July 2, 2024 at 1:06 pm #15875491

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Excellent!

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.

Have a great day!

jaakkoM-3 confirmed that the issue was resolved on 2024-07-02 11:11:34.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.