Skip to content Skip to sidebar

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 Laura 4 years, 6 months ago.

Assisted by: Laura.

Author Posts
January 13, 2021 at 7:08 pm #7838463

julieP-14

I am trying to:Have the same pages for both languages FR and EN

Link to a page where the issue can be seen:
hidden link
hidden link

I expected to see:The exact same content and URL for all the pages but only the copy translated

Instead, I got: Not the same layout on some of the pages:
hidden link
hidden link
And problems due to the urls as the store can only have one checkout page.

Thank you!

January 14, 2021 at 8:50 am #7841621

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

It's not possible to have the same URL in different languages. Even if a page uses the same slug, it will always have the parameter (?lang=en in your case) to distinguish it from the default language. This behavior cannot be changed, the only thing you can do is to add a redirect to the default language or create a custom language switcher so that you can remove the redirection links on some pages and still have the switcher.

As for the layout issue, the site is not accessible so we can't see the differences you're reporting. Please check your translations are updated and that the theme settings shouldn't be copied for each language.
If you're still having issues, please provide us with some screenshots.

January 14, 2021 at 2:01 pm #7845259

julieP-14

Hello Laura,
The site is still under construction. You'll need to login in order to visit it.
Is this actual post public? I would give you access if it wasn't.
I would really appreciate if you could take a look at it.
Many thanks!
Julie

January 15, 2021 at 9:16 am #7850995

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

yes, all forum is public. I can enable a private reply if you wish and take a look, but again, what you are asking for is not possible within WPML current capacity, so there is little we can do here.

You'd need some custom coding if you want to use the same page for checkout for all your languages.

January 22, 2021 at 5:22 pm #7908485

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

since the site is live I cannot do tests or such, so there is little I can do for now.

Your theme's author is likely not familiar with WPML since the plugin always creates different pages for each language.
Having URLs like
hidden link
hidden link
it's perfectly normal and it's how it should be. If they're telling you you should only have one checkout page for the theme to work properly, then it's not compatible with WPML.

If the issue is that no shipping is available in the second language, that's another problem and it has nothing to do with having 2 checkout pages.
I see you use Colissimo shipping methods for WooCommerce plugin to manage shipping methods, but this plugin has not been tested with WPML, so it's likely this to be the issue.

You can install Colissimo shipping methods for WooCommerce here, configure WPML as it is on your site and see if you can reproduce the issue
hidden link

January 26, 2021 at 5:25 pm #7934665

julieP-14

Hello Laura,

I have tested again the site with the english version. Everything is working now except that no shipping is available on the EN version.

Have you really checked the back office? the extension you're proposing (Colissimo shipping methods for WooCommerce) is activated since the beginning so I am a bit surprised by you reply. Also Colissimo is the main delivery company in France so does that mean you have this issue with all you french customer?

Would you have any technical support to provide in order to help me?
Many thanks for your help!

Julie

January 27, 2021 at 8:36 am #7938099

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi Julie,

the fact this plugin is activated since the beginning doesn't mean it cannot create problems with WPML. And the fact that Colissimo is the main delivery company in French doesn't mean all sites use this extension. To be fair, it's the first time I've encountered it in a ticket.

As I said, I won't do tests on a live site, so my "checking" is quite limited. I think this Colissimo plugin could be the issue since is the only one I see related to shipping.

If you don't think this is the reason, then you can run a full compatibility test
- backup your site
- disable all plugin except WooCommerce, WPML and its addons
- switch to a default theme like TwentySeventeen
- check if the issue is happening again
- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again
- lastly, reactivate your theme

If you don't want to perform a test on the live site and you can't have a staging site, I can create a test server for you where performing tests.

January 28, 2021 at 4:34 pm #7954693

julieP-14

Hello Laura,
Sorry for my late reply and thank you for your feedback.
The issue was solved, it was coming from Colissimo but only affecting the EN version, they still don't know why and should come back to me. Please let me know if you would like me to share the info in case you have the same issue with one of your user.

I still have 3 problems of translations appearing in FR on the EN version and I can't find anything on the WPML string translations :

1 - Shipping methods are still in french ("Colissimo sans signature", "Colissimo avec signature" etc...) > hidden link

2 - On the checkout page the opt-in button to the Newsletter ("Souscrire à la Newsletter") is not translated >hidden link

3 - On the Shipping label, the order detail paper sheet that's inside the parcel for the client (attached) I still have some words in EN. I tried to search "by word" on the string translations but I couldn't find the infos.

Many thanks for your help!

Julie

627b424f-5a6b-4c1b-bf79-3756ac1b3a0c.jpg
January 29, 2021 at 8:56 am #7959505

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

happy to hear the issue is solved. For the strings you can't find in String Translation, please check this page https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

If after trying everything suggested on that page you still can't find something, I'd ask you to open a new ticket. We try to have only one issue per ticket, so it's easier for others to search the forum. This also allows supporters to be faster and more efficient.