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 6 days, 3 hours ago.

Assisted by: Marcel.

Author Posts
November 26, 2024 at 10:17 am #16443841

alexZ-17

the issue is solved.
I have modified the home page again (WPML2).
No change, and it seems that the translation hangs (cash purged) - the changes are not reflected in the page for translation

WPML-Test2_20241126.jpg
ÜbersetzungBearbeiten_20241126.jpg
November 26, 2024 at 11:00 am #16444135

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

The homepage is currently not translate to 100%.

The "Automatic translations by default" feature is enabled:

The dotted lines between segments mean that segments have been automatically translated and have not been confirmed yet. At the top bar you see that a complete translation will need 30 credits.

You need to confirm each segment and then click complete in the bottom right corner of the translation editor.

translation.jpg
November 26, 2024 at 11:39 am #16444411

alexZ-17

I do not have the translation of the home page anymore (only 2 available) - have you deleted it?
I see that you had a correct version for translation (WPML2).
The translation of URL is still wrong - it is generated from the title and is not a slug translation.
In Translation Management is stated however that
"3 translations waiting for review"
Should I confirm the segments? (if you can restore the page)
Till the moment I have used 1828 credits (for 3 pages) - correct?

HomePageTranslation-lost_20241126.jpg
November 26, 2024 at 2:02 pm #16445291

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

No, I did not delete the translation of the homepage.

It is still available, see screenshot.

You just need to Pages, make sure English is set and then click the "Eye"-Symbol to complete the review for this page.

Now, the issue here might be, that you switched the translation mode inside WPML's settings page to "Translate What You Choose".

The review usually should be done while beeing in the mode "Translate Everything Automatically".

If you run into issues with completing the review, please let me know.

translation homepage.jpg
November 28, 2024 at 12:50 pm #16455087

alexZ-17

I can not understand where do you see this.
In the WPML.Tanslations it is not.
If I click on the page EDIT in WP I see:
Translation in progress - wait before editing
Please be more precise
You have not answered my question about used credits

HomePage.WP-edit_20241128.jpg
WPML.Translations_20241128.jpg
November 29, 2024 at 3:22 am #16457430

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

It looks like the issue was here, that reviews were not yet completed and the translation mode was switches to "Translate What You Choose". This is a mode which will not support reviews and this was causing a conflict.

The translated homepage is now published:
hidden link

You might realize that there is an issue with the layout. The reason for this is, that you still need to translate the Templates.

Go to WPML > Translation Management > Dashboard and select the post type "Template" on the dropdown on the top left.

Now, create jobs for each Template and then access the translations at WPML > Translations.

Make sure the templates are translated to 100%.

Complete guide:
https://wpml.org/documentation/getting-started-guide/translating-content-created-using-gutenberg-editor/translating-sites-that-use-full-site-editing/

November 29, 2024 at 11:14 am #16459073

alexZ-17

OK, I will translate the templates.
Is the narrow width of pages also due to templates?
The URL
hidden link
doesn't match the page title
Thonet Lehnsessel
Can I change the URL to
hidden link
?
(I want to do it myself)
thx

November 29, 2024 at 8:56 pm #16461097

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Yes, the width might be very likely something that is controlled by the template "Pages".

Please try to adjust the permlink direclty on the translation when editing it inside the WordPress-Editor.

December 1, 2024 at 3:21 pm #16463331

alexZ-17

Dear Andreas,
First of all, many thanks for your patience and constructive support.
I was not really happy with WPML till yesterday, but now it seems to be really better and I will naturally inform the support management about “our” project with you as a leader and me as a follower.

Due to the fact that I am to reproduce the procedures in the Production environment and I have only 1 week to decide if I can use WPML at all, please answer my questions precisely and detailed.

1. Re: translation mode "Translate What You Choose", review of Front Page misses
This mode was always set and only the Front Page was not available for review, other 2 pages were available.
That is why your explanation is not plausible.
"Translate What You Choose" does support reviews, correct?
The point is to the best of my understanding that you have changed Settings.Automatic translation from Let me review it before it gets published to Publish right away without reviewing (I have noticed it when translating the template) and then you have started the translation, but where from? (definitely not from Translations, may be from Dashboard.Jobs)

2. Translation of the template done successfully, however why?
Take and translate from Translations queue results in
Image: Translations Queue.Take and translate_20241201.png
What URL?
Translation Management.Start translating is OK

3. Translations of Header, Footer, Navigations (2) successful.

4. Why the URL in WPML advanced editor for the Front Page
dev-mid-century-design-mobel-aus-mitteleuropa
Image: FrontPage.AdvancedEditor_20241201.png
is different (WRONG!) from the live URL
hidden link
(RIGHT!)

5. Re: URL hidden link
Change the URL to hidden link
- adjust the permlink direclty on the translation when editing it inside the WordPress-Editor.
Do you mean the WPML Advanced Editor?
A WPML page is not a WP page, how can I change then the URL WP editor?

thx

FrontPage.AdvancedEditor_20241201.png
Translations Queue.Take and translate_20241201.png
December 2, 2024 at 6:11 pm #16467972
alexZ-17

Next problem:
I can not add a language switcher to navigation menu, because WPML thinks that I have no menus on the site:
"The button is disabled because there are no menus in the site. Add a menu and you can later enable a language switcher in it."
However I have menus, cf. image.
The behaviour of Translations are strange at least - when I order by any column name
(Title, Status) the status of Navigation Menus changes from "complete" to "In progress"

New threads created by Marcel and linked to this one are listed below:

https://wpml.org/forums/topic/setting-a-main-menu-with-an-fse-theme/

MenuLanguageSwitcher-disabled_20241202.jpg
NavigationMenus_20241202.jpg
NavigationMenus-inProgress_20241202.jpg
December 2, 2024 at 6:39 pm #16468096
alexZ-17

Now navigations menus are permanently "In progress".
I can not complete the translation, because of "Save all sentences before finishing"
Please reply ASAP

New threads created by Marcel and linked to this one are listed below:

https://wpml.org/forums/topic/translation-in-progress/

Navigation4Header-TranlationNot Complete_20241202.jpg
December 3, 2024 at 9:23 am #16470503

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

As my colleague Andreas is currently unavailable, I’ll be taking over this ticket.

This ticket has become a bit cluttered, so let’s focus on your initial message first. We can address other issues in separate tickets as needed.

1) "Translate What You Choose"
This feature supports everything managed via a Custom Post Type (CPT). Therefore, it should handle Reviews, provided they are properly implemented according to the WordPress i18n standards. I can’t confirm if Andreas changed any settings, nor can I verify how or where he may have done so without further details.

2) What exactly is the issue here?
Could you clarify?

3) This point seems resolved.

4) Homepage Behavior
The translated page it’s likely not defined as the homepage in WordPress settings. The permalink (e.g., "this-is-my-startpage") typically changes to /de for translated versions when configured properly.

5) Clarification on Andreas’ Comment
Andreas was referring to the WordPress Editor. A WPML page is essentially a regular WordPress page, connected to the original ID via the "trid" field in the database. This connection allows you to use the top-bar language switcher in the backend to load the translated version of that page.

Feel free to reach out if you need further clarification or assistance! For any new questions, please create a separate ticket. This helps other clients with similar issues easily find solutions through the forum search. Thank you!

Best regards,
Marcel

December 3, 2024 at 12:59 pm #16471886

alexZ-17

Hi Marcel,
Let us forget 1,2 and 3.
Re 4: Why the URL in WPML advanced editor for the Front Page
“dev-mid-century-design-mobel-aus-mitteleuropa” (FrontPage.URL.AdvancedEditor_20241203.jpg) – WRONG
is different from the live URL
hidden link – CORRECT
?
The page is a defined as a Front Page (FrontPage_20241203.jpg) – why is it relevant?
Re 5: Sorry I am a stupid user in WP and I can not appreciate your technical terms – please stay simple.
The URL for the page hidden link in advanced editor
(Thonet.URL.AdvancedEditor_20241203.jpg) matches the live URL. Perfect.
I would prefer to have the slug in URL: thonet-lehnsessel1 (matching the page title) – where can I change the URL? (advanced editor?)
I have no German page for Thonet (as well as other pages) in WP, but I can click on “Edit the German translation” - I land in the advanced editor.
So advanced editor as a single point of truth?

Now new batch, I would suggest we stay in this thread.
A1. All translations were completed, but when I click on “Edit” (I wanted only to check something) they go in “In progress” (NavigationMenusInProgress_20241203.jpg).
Let us stay with Navigation 4 Header – it is where I want to have language switching.
Advanced editor shows 75% completion.
Complete translation shows “Save all sentences before finishing” (Navigation 4 Header.Complete translation_20241203.jpg) – when clicking on “complete translation” only endless running.
What should be done?
Live is OK (Navigation 4 Header.Live_20241203.jpg).
thx

FrontPage_20241203.jpg
FrontPage.URL.AdvancedEditor_20241203.jpg
Thonet.URL.AdvancedEditor_20241203.jpg
Thonet.WP.jpg
NavigationMenusInProgress_20241203.jpg
Navigation 4 Header.AdvancedEditor_20241203.jpg
Navigation 4 Header.Complete translation_20241203.jpg
Navigation 4 Header.Live_20241203.jpg
December 3, 2024 at 2:26 pm #16472387

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

4) The only technical I mentioned is that a defined homepage from WordPress replaces the permalink, and that changes to the root domain. For a translated homepage, this is /de. Keep in mind, the right column is YOUR INPUT. If this is wrong, change it. You might have this saved wrongly in the translation memory from a previous translation.

I would prefer to have the slug in URL: thonet-lehnsessel1 (matching the page title) – where can I change the URL?

This depends on what you have WPML configured. Copy the title is something you can change as described here: /. Default is translating the title.

This depends on how you have WPML configured. Copying the title is something you can adjust, as explained here: WPML Slug Translation Guide. By default, WPML translates the title.

The only technical point I mentioned is that when a page is set as the homepage in WordPress, it overrides the permalink and changes to the root domain. For a translated homepage, this will be /de. Please note that the right column shows your input. If this is incorrect, feel free to update it. It’s possible that this might be saved incorrectly in the translation memory from a previous translation.

Advanced editor shows 75% completion.

The right column shows a "+" in the segment. Click there and finish the translation to reach 100%.

Best Regards,
Marcel

December 4, 2024 at 8:56 am #16475135

alexZ-17

Hi Marcel,
thank you for the prompt reply.
I see that you have opened 2 new threads:
1 Setting a main menu with an FSE theme - I will follow it
2 Translation in progress – this seems to be solved, cf. below. Your college Kor askes for credentials - all credentials were provided to Andreas, so I assume any of support can see it, wrong?

Please answer the 2 questions below in a precise and direct way:
Re 4: Why there is the difference between URL in Advanced Editor and generated URL in live version?
I do understand that with
“Translated documents options. Page URL“ ≡ „Translate (this will include the slug in the translation and not create it automatically from the title)”
it should not be the case, correct? (saved incorrectly in the translation memory or not - is the past and can be forgotten)

Re 5: Can you point me the place where the URL can be changed?
I think it is Advanced 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?

Re “DEV Mid-Century Design Furniture from Mid Europe (WPML2)” “In progress”:
there were no dots between left and right column. Compete Translations works without saving.

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?

thx