Skip Navigation

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

Problem:
The client's website default language changed to English, although it was set to German in WPML settings. The URLs were displaying in English instead of German.

Solution:
1. We asked the client to check if the issue was still occurring.
2. We provided steps to fix the translation for 'produkt' and to translate the 'Gerbstoffe' category to all languages:
- Navigate to the WooCommerce Multilingual slugs settings page and correct the translation for 'produkt'.
- Go to the product category translation section and ensure 'Gerbstoffe' is translated into all languages.
- After making these changes, double-check if the issue is resolved by re-saving the permalinks.
3. We confirmed that the issue was fixed after translating the product-category slugs and re-saving the permalinks.

Please note that this solution might not apply to your situation if it's outdated or not relevant to your case. We highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 8 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
April 11, 2024 at 8:10 am #15507568

Martijn Loonen

Tell us what you are trying to do? the standard language has changed to english while the site is german. We didnt change anything and in wpml it says its german. but the site is english (urls etc)

Is there any documentation that you are following? no

Is there a similar example that we can see? this is the current url: hidden link but it should be hidden link

What is the link to your site?
this is the current url: hidden link

April 11, 2024 at 11:29 am #15508784

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
Thank you for contacting us

I just visited the two links you shared and when visiting hidden link I got a 404 error. And when I visited hidden link I got the product category.

Could you double-check if the issue persists? And if so, then please elaborate a little more so I can have a better understanding of the issue.

Regards,
Carlos

April 12, 2024 at 9:28 am #15512259

Martijn Loonen

Hi is it possible to chat? as the issue is quite urgent. The urls are changed since default language is set to english. the urls of the product categories are changed. for example, the original language is german. but the system thinks the original language is english and therefore the urls are set to english.. and when you translate german to dutch, the english urls appear: hidden link

April 15, 2024 at 8:04 am #15517574

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

Yes, you can open a chat, but if you do so, please mention to the supporter in the chat that you also have this ticket, that way we will avoid duplicates.

Please go to WPML -> Languages -> Tell me which is the default language of the site that appears in the configuration.

April 16, 2024 at 12:21 pm #15525165

Martijn Loonen

German is the default language: hidden link

April 16, 2024 at 1:41 pm #15525807

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for sharing the screenshot.

I would like to request temporary access (wp-admin and FTP) to your site to take a 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 back up the site before providing us access. If 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.

April 16, 2024 at 2:29 pm #15526333

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thank you for sharing the credentials requested.

Please follow these steps:
- Go to hidden link -> Fix the translation for 'produkt' in the second row. I used the same slug for all languages.
- Go to hidden link -> Search for 'Gerbstoffe' -> Translate it to all languages
- Double-check if the issue disappeared

Could you tell me the results of the steps described above?

April 17, 2024 at 7:07 am #15529611

Martijn Loonen

I dont know what you mean with fix the translation for ''produkt''
where is that? hidden link

hidden link
i cant translate german, and what does this has got to do with the problem that the original language is english instead of german?

April 17, 2024 at 8:49 am #15530272

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

The issue is already fixed: hidden link

I translated the product-category slugs and re-saved the permalinks. Can you confirm that the issue is solved?