Skip Navigation

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

Last updated by antonW 2 years, 1 month ago.

Assisted by: Osama Mersal.

Author Posts
November 17, 2022 at 4:06 pm #12484057

antonW

I have added some settings in the Customizer - WooCommerce section (Astra Theme with Astra Pro and Elementor).
There are several fields that I have setup in the Single Product and Product Archive settings that I cannot find in the String Translations.
Normally these kind of fields show up when you run the Localization of theme and plugins. But in this case I cannot find them.

Check out the "In Winkelwagen" button on the Product Archive grid on the home page: hidden link
and on the Single Product page: hidden link

And the custom text added below the description "De Bakkers van Baklove..."

Please advise...

November 17, 2022 at 4:24 pm #12484181

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

The proper way to translate strings depends a lot on how they have been implemented inside the theme.

1. Please try this:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

2. If you can't find them inside the WPML > String Translation, they might be added as admin text.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let us know how that goes.

Kind regards,
Mihai Apetrei

November 18, 2022 at 3:03 pm #12491199

antonW

Thanks, I pretty much was able to find most elements and made some compromises on elements that are not critical.

I have 2 remaining issues that I cannot resolve on the checkout form. If you enter an order and and language but Dutch, there are 2 fields that do not translate:

1. "Jouw Gegevens": this fiel is generated from the WooCommerce checkout form (Cart Flow override with Elementor), but not translated automatically nor do I find a String

2. "Bestelling Plaatsen": this is an Astra WooCommerce Customizer Button Text setting that I also cannot find in the Strings.

Please advise...

November 19, 2022 at 9:40 am #12495073

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

Please check the following steps:
1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens » link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on "the « Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

If the above steps didn't help, 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.
❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Thanks for your cooperation

Regards,
Osama

November 20, 2022 at 2:25 pm #12498993

antonW

After making Cartflow translatable in the WPML settings, I was abel to translate the cartflow check-out pages. However, Cartflow does not pick-up the translated pages.

I found another post that mentioned to put the page-ID in the translation of the "[_cartflows_common]global_checkout" field. I was able to find the page-IDs in the database and after setting up the ID in the translations for the specific languages, the correct langaue specific page was displayed.

From that point the standard WPML translation tools are respected and I was able to set the fields in Elementor of translate in string translations.

I bit of a work-a-round, but happy with the result. Would be nice if WPML would support Cartflows properly...