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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 3 replies, has 3 voices.

Last updated by Bobby 9 months ago.

Assisted by: Bobby.

Author Posts
May 23, 2024 at 8:41 am #15661423

sebastianK-50

Hello,

I'm currently developing a website but I have encountered a problem regarding WPML and S&F.
The main language of the site is english and the secondary language is german.
I have a S&F that uses custom taxonomies called Filetype and languages. On the english version the filter works fine but on the german version both taxonomies use the english slugs of the Filetypes and languages instead of the german names? I can't figure out why? Other than that the german filter works fine.

hidden link

I can give you backend access if needed, so you can take a better look at this.

May 23, 2024 at 1:41 pm #15663442

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

1) You can translate the taxonomies with one of the options mentioned here: https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/#other-taxonomy-translation-methods. Can you please check if the translation for them is correctly added?

2) Could you also please increase your WP Memory limit? Add this code to your wp-config.php to increase WP memory:

define('WP_MEMORY_LIMIT', '256M'); 

Paste it just before "That's all, stop editing! Happy blogging.".

See here for more information https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only in a minimal environment, which means with a default theme and no other plugins installed. That can also influence the output of an already created translation.

Best Regards
Marcel

May 29, 2024 at 12:15 pm #15683516

sebastianK-50

Hi Marcel,

I already tried using the taxonomie translation to show the custom taxonomie in the correct language. There I saw that the custom taxonomies are already translated but the website just seems to show the german name.

The page already has increased WP_MEMORY_LIMIT of 1024M. The changing of the WP_MEMORY_LIMIT.

Both options didn't fix the problem

Best Regards
Gerry

May 29, 2024 at 4:23 pm #15685038

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi Gerry,

To verify I fully understand, I take these steps to reproduce.

1. Go to hidden link

2. Click on filetype Brochure -> I am taken to hidden link

notice that the brochure option not only shows English but also takes me to the English language. (It stripped the /de/ language directory)

Are you creating these filters using "Search & Filter Pro" plugin? That is a compatible plugin with WPML, please review the documentation on how to use it with WPML best hidden link" rel="noopener" target="_blank">here.

Let me know your results, please.

The topic ‘[Closed] S&F outputs the english slug of taxonomie in german version?’ is closed to new replies.