Skip Navigation

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

Problem:
The client is trying to translate the CartFlows plugin using WPML, including URLs, checkout pages, and fields, but faces issues with Elementor not loading and certain elements not translating correctly.
Solution:
1. Create a CartFlow in the Original Language: Build your CartFlow as usual in the default language.
2. Set Post Types as Translatable: Go to WPML > Settings > Post Types and set cartflows_step and cartflows_flow to translatable.
3. Duplicate the CartFlow for Translation: Use WPML's duplicate feature to create a copy in the secondary language. More details here: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/
4. Translate Independently: Edit the duplicated CartFlow using the WordPress Standard Editor. In the Language box, click Translate independently. More details here: https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/
5. Clone Each Step: Use CartFlows' "Clone Step" feature for each step in the flow. Instructions here: https://cartflows.com/docs/clone-flow-step-in-cartflows/
6. Delete Original Steps and Save Translations: Save the translated texts locally, delete the original steps, and then copy the translated texts back into the appropriate fields.
7. Edit and Update Steps: Update titles and links for each step, then save the changes.

If these steps do not resolve your issue or if the solution seems outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum: 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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by simeonN-2 1 month, 1 week ago.

Assisted by: Ilyes.

Author Posts
December 16, 2024 at 5:00 pm #16518363

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

The DNS error is no longer there, it seems to be an issue from my side, I had to change my VPN to another country,

I will get back to you shortly,

December 16, 2024 at 5:02 pm #16518367

simeonN-2

Okay, thanks! I was just trying to figure out the problem 😀

December 17, 2024 at 5:53 pm #16523063

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

After long trial and error, I found issues related to the core plugin, it is simply not compatible with WPML.

I was able to translate the button as shown here : hidden link , I had to re-translate the flow from scratch and re-translate the button, I suspect that you edited the main flow which broke the translation, again, because it is not compatible.

But not the form labels, these strings are not set to be translated with WPML, and it seems some of them are saved under the .po file of the plugin by the authors.

Another layer added of complexity, I see you used loco translate too, to generate your own PO files for this plugin, which I have no experience, nor knowledge on how it works and if it is conflicting with WPML,

I apologize in advance, but I do not think we could find a proper solution this way as we need to make this plugin compatible rather than looking for shortcuts that wouldn't work in the long term.

Please let me know how you want to proceed,

Best,

December 17, 2024 at 5:57 pm #16523131

simeonN-2

Hello, Ilyes!

I appreciate your help! I guess their plugin is very strangely coded and it doesn't work for now.

In that case, I will uninstall their plugin and use the normal checkout.

Thank you for taking the time to investigate this from top to bottom!

All the best!