Skip Navigation

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

Problem:
The client reported an issue with incorrect URL slugs in different languages on their website. Specifically, the URL slug did not translate correctly for subpages in Slovenian and Croatian, showing 'services' instead of the correct translations 'storitve' and 'usluge'.

Solution:
We resolved the issue by translating the Properties post type slug in WPML -> Settings -> Post Types Translation. After updating the slugs for Slovenian and Croatian, the URLs displayed correctly on the frontend, including subpages and menu items. For further guidance on translating page slugs, please visit Translating Page Slugs documentation.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please contact us through the 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.

This topic contains 3 replies, has 0 voices.

Last updated by Waqas Bin Hasan 1 week, 6 days ago.

Assisted by: Waqas Bin Hasan.

Author Posts
June 27, 2025 at 9:49 am

urosJ-2

Background of the issue:
hidden link

it says "storitve" at the end which is fine. but then when you click some subpage (in the menu) is says services in the url...

For croatian, the correct is hidden link and should be "usluge" instead of services....

June 27, 2025 at 11:49 am
June 27, 2025 at 2:09 pm #17177750

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I was able to fix the issue by translating the Properties post type slug in WPML -> Settings -> Post Types Translation. After adding the slugs for Slovenian and Croatian, this works fine now on the frontend (for subpages and in the menu as well) - see attached.

For example, notice the proper slug for this sub page hidden link.

See https://wpml.org/documentation/getting-started-guide/translating-page-slugs/ for more details.

post-type-slug.jpg
frontend.jpg
July 1, 2025 at 10:25 am #17187874

urosJ-2

Hello,

Yes the slovenian version is ok now, i need to check croatian one.
I'll get back to you.

July 1, 2025 at 1:26 pm #17188714

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sure, please take your time.