Skip Navigation

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

Problem:
The client is experiencing issues with their WPML setup on a site under development. Specific problems include the homepage not behaving as expected in translated versions and confusion about URL slugs for translated pages.
Solution:
1. For the homepage not appearing correctly in translated versions, ensure that the translated page is defined as the homepage in WordPress settings. This setup typically changes the permalink to include a language code (e.g., /de) when configured correctly.
2. To address issues with URL slugs in translations, the configuration of WPML needs to be checked. If the client wishes to have specific slugs that match the page titles, they can adjust this in WPML settings. Detailed guidance on configuring slugs can be found in the WPML Slug Translation Guide.
3. If the translation progress shows less than 100%, the client should click the "+" in the segment within the advanced editor to complete the translation.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, feel free to open a new support ticket at 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 10 replies, has 2 voices.

Last updated by Marcel 1 month, 4 weeks ago.

Assisted by: Marcel.

Author Posts
December 4, 2024 at 10:23 am #16475768

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Your college Kor askes for credentials - all credentials were provided to Andreas, so I assume any of support can see it, wrong?

I let him know he can use them from here.

Re 4: Why there is the difference between URL in Advanced Editor and generated URL in live version?

There’s no difference. Before I explain further, please take a moment to review hidden link">this article.

What you see in the editor is the actual WordPress page slug. However, this slug is currently NOT IN USE because the page has been set as the hidden link">WordPress homepage. A designated homepage functions as the starting point, loading the main domain.

For example:
- The page slug hidden link becomes your homepage and is displayed when you access the main domain (.com). WordPress handles the redirection for you.

In summary:
- The slug shown in the editor doesn’t matter right now because it’s not being actively used.
- There is no issue; it’s simply the name you defined.

Check it yourself:
1) Open Settings -> Permalinks and select another page as the WP homepage.
2) When this change was made, the page no longer redirected the domain to the homepage. Instead, it shows hidden link (the name defined for the English original page).
3) For the translation, it uses hidden link, which is displayed correctly in the editor.
4) When beispiel-seite/ is selected as the homepage again, it automatically redirects back to .com.

Re 5: Can you point me the place where the URL can be changed?
I think it is Advanced Editor.

Yes, on WPML -> Settings .> Translated documents options -> Page URL you use the option " Translate (this will include the slug in the translation and not create it automatically from the title)". So the correct way to transalte the slug is inside the editor

Re Advanced editor shows 75% completion for “Naviagtion 4 Header” and “Navigation 3 Footer”:
I have clicked SAVE in URL segment – it was not enough, still showing “Save all sentences before finishing” – so I clicked in all segments SAVE – Translation completed. Great! Expected behavior?

Yes, sounds like you didn't finish the translation process.

My understanding:
after EDIT in Translations for Footer/Header all segments should be saved in spite no modifications done;
in “normal” pages SAVE should be done for segments with dots in the middle.
Correct?

Wrong. There is no difference between page, post, template or Custom Post Type. Andreas explained before what the dots mean:

The dotted lines between segments mean that segments have been automatically translated and have not been confirmed yet.

This can happen in any translation task. If the translation is done automatically, you get the dots, but if done manually, they won't appear.

Best Regards,
Marcel

December 5, 2024 at 3:45 pm #16482659

alexZ-17

Hi,
thanks a lot, more or less clear.
I think you can close the thread - now my questions and problems are in the thread
Setting a main menu with an FSE theme

December 5, 2024 at 4:14 pm #16482928

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Thanks for the info!

Best Regards,
Marcel