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.

This topic contains 4 replies, has 0 voices.

Last updated by Christian M. 5 months ago.

Assisted by: Osama Mersal.

Author Posts
January 6, 2025 at 10:24 am #16565673

Christian M.

Background of the issue:
I am experiencing issues with the translation of my 'Microsoft Services' category and its subcategories in WPML. I have a parent category 'Microsoft Services' with subcategories like 'Workshops'. The 'Microsoft Services' category contains 4 manually translated pages, and via its subcategories, that have been automatically translated but content is still in English. I have manually created category translations of the 'Microsoft Services' WordPress-category; otherwise, my 4 translated pages would have no category. The 'Microsoft Services'-category translations (German, French, Luxembourgish) use the same slug as the original English category (microsoft-services and not microsoft-services-de) to avoid the URL looking weird. I have set the post types and taxonomies to 'Translatable – use translation if available or fallback to default language.' The manually translated pages are assigned to the translated 'Microsoft Services' category. The pages of the subcategories have no translated category, but use the hidden automatic translated category due to the 'Translatable – use translation if available or fallback to default language.'-setting. Link to a page where the issue can be seen: hidden link vs. hidden link

Symptoms:
On the translated category archive page (e.g., German) using an assigned Elementor template, the Elementor Search widget and the Elementor Posts widget both do not find the 4 manually translated pages of the Microsoft Services category. However, all pages of the Microsoft-Services subcategories (e.g. workshops) are displayed, but the manually translated pages are not shown. If, in the widget, I only filter to 'Microsoft Services' no pages are shown in the translated category page, not even the subcategory-assigned pages.

Questions:
Why are the manually translated pages not showing in the Elementor Search and Posts widgets?
How can I ensure that both manually and automatically translated pages are displayed in the translated category page?

January 6, 2025 at 11:43 am #16566215

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

January 7, 2025 at 11:24 am #16569199

Christian M.

Hi Osama,

thank you for your prompt reply.

I was wondering if we can tackle this issue without giving temporary access, as I feel uncomfortable handing out access to the FTP and WordPress - we have confidential data laying around there.

I suspect that the issue is due to the translation of the WordPress Category "Microsoft Services" ->slug<-; I found in the translation of my header, that WPML used schneider.im/de/category/microsoft-services-de/ instead of schneider.im/de/category/microsoft-services/. I suspect that we have to somehow make sure that the system really understands the slug being the very same in the different languages (without the -de e.g.).

Is there any guidance on making sure the slugs are correctly translated and used? Maybe resetting links in WordPress settings, or in WPML settings or translations of category slugs settings or something similar?

Hope you can help me without temporary access, thank you for your help. 🙂

Best regards

January 7, 2025 at 11:29 am #16569207

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

If you suspect the slug causes this issue, please go to WPML-> Taxonomy Translation, select the taxonomy, and change the Microsoft Services slug.

After that, please clear your site's cache and resave the permalinks.

Kindly let me know if the above approach helped you fix the issue.

If it didn't, I'd need temporary access to your staging site or a site copy to debug the issue further.

Best regards,
Osama

January 9, 2025 at 11:42 am #16577411

Christian M.

Hi,

thanks for the reply.

I tried your method and it did not work.

I found that my posts widget lists the Microsoft Services-only category pages, while my Elementor Search widget on the same page does not, even with the same settings.

Is there a way to fix the query of the Search widget or smt. similar?

Best regards

January 9, 2025 at 9:55 pm #16579960

Christian M.

Hi,

I will now use a different approach using JetSmartFilters.

My issue was not resolved but I like my new approach better anyways.

Thank you for your help.

Have a nice weekend.

Best regards