[Geschlossen] Filterfunktion in der russischen Version nicht gegeben.
Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
Ich habe einen Filter auf der Seite. Dieser funktionierte einwandfrei auf der Originalseite in deutsch und auch nach der Installation von WPML auf der englischen. Aber auf der russischen Version funktioniert der Filter nicht. Die Betreiber des Themes sagen, es muss an WPML liegen.
URL der/meiner Website, auf der das Problem auftritt: versteckter Link
To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or if you prefer to continue the conversation in German. Based on your preference, I will forward this ticket to one of our German-speaking colleagues to assist you further.
I understand the problem you're having. After reviewing the filter on the default page, it appears that the content is being filtered based on class. For each button in the Filter, there's an attribute called "data-filter" which includes the class associated with the post. When you click on one of these buttons, the posts containing the specified class are the ones that show up in the filter results. Please check this screenshot: versteckter Link
In the case of the Russian language version of your site, it seems that the class names have been translated into Russian. Russian uses non-Latin characters, which results in these class names being percent-encoded when they appear in browsers. Please check this screenshot(versteckter Link) for a better understanding.
Since the Tab element that you've used can't process the encoded class, a syntax error appear on the console that you can see from this screenshot: versteckter Link
To resolve the issue you're encountering, it's important to make sure that the class names assigned to the "data-filter" property, as well as those associated with the posts, remain in English or use Latin characters. This is necessary for the filter to function correctly in the Russian language version of your site.
From my review of the English version, I noticed that the class names are indeed in English. Therefore, when you're creating the Russian translation, please ensure that these class names are defined using English or Latin characters. By maintaining consistency in the class names across different language versions, the filtering issue should be resolved.
As I'm not entirely sure about how classes are managed within the tab filter, It is bit difficult to provide precise step-by-step instructions. However, maintaining English or Latin characters for class names in the translations should address the problem. I hope this guidance is clear and helpful to you.
Let me know the update. I will be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
Das Thema „[Geschlossen] Filterfunktion in der russischen Version nicht gegeben.“ ist für neue Antworten geschlossen.