Skip Navigation

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

Last updated by Andrey 1 year, 8 months ago.

Assisted by: Andrey.

Author Posts
October 18, 2023 at 5:19 pm #14607357

LukaszM-21

Hi,

Im trying to find place there it is translated, I tried my best:

hidden link
going to:
hidden link

Which adds slug: /kategoria/ (category) to every translated category.
(main language do not have this slug prefix)

Single posts are correct, just archives.

It's native wordpress fields.

October 19, 2023 at 10:13 pm #14619433

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

I seem to see no issue when checking the links you provided. Could you please elaborate on this more?

Could you please update your WPML plugin to the latest version 4.6.7 and add-ons to benefit from the latest bug fixes and improvements? This may not necessarily resolve your problem, however, in order to troubleshoot the issue best we need to work on the latest code available.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to backup your database first before you proceed.

October 20, 2023 at 6:13 am #14620569

LukaszM-21

I did update still same.
Let me explain again.

main language:
hidden link
right now is going to:
hidden link

Which is wrong (adds /kategoria/ inside url where main language do not have it)
analogously correct url should be:
hidden link

btw. my Settings>permalinks>Category-base is empty
I did taxonomy translation as well.
It worked before, but after i changed main language to english urls changed in blog archive

October 20, 2023 at 6:35 am #14620607

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank your for the explanation. Now, I noticed the issue.

I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. 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.

October 20, 2023 at 11:37 am #14622975

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thanks. I cannot login using the information you provided. Could you please check this?

October 23, 2023 at 1:39 pm #14638569

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

It helped. Thanks.

I figured out what was the problem. By using the option Show the categories prefix in the slug you are stripping out the /category/ with the Yoast plugin. The category itself is translated to kategoria so it wasn't able to match /category/ in the secondary languages.

I have deleted all translations of the category in WPML → String Translation and on this page, using the option Auto register strings for translation I registered it back, and finally translated it to category.

You might need to clear cache. Before proceeding with any changes, please make sure to back up your database first.

Annotate-a-local-image(7).png
String-Translation-‹-Unisystem-Industrial-information-visualization-systems-supplier-and-manufacturer-—-WordPress.png
October 23, 2023 at 4:54 pm #14640275

LukaszM-21

It helped thanks!

I found if faster way Taxonomy translations > categories and that language had added slug field. I made it empty and it works.

October 23, 2023 at 8:08 pm #14641117

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Good catch! Have a nice week!