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

Last updated by Itamar 4 years, 7 months ago.

Assisted by: Itamar.

Author Posts
July 1, 2020 at 11:47 am #6495065

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, Marc, and thanks for further investigating this issue.

I have a response from our compatibility team regarding this issue. When I described the issue to them and mentioned the theme's name and author they could find that this issue was already reported to us two times in the past year. Here are the links to the forum tickets.

https://wpml.org/forums/topic/language-selector-issue-404-error-2/#post-4747975

https://wpml.org/forums/topic/my-editor-view-doesnt-includes-all-the-original-sections-eg-only-title-and-imgs/

In our internal documentation, there are more details than you can see in the forum. Our support manager was also informed about this issue. So together with the compatibility developers, they concluded that due to the complexity of directory themes and to the fact that this theme is not multi-language or WPML compatible (also as the author of the theme states) we are going to needs the cooperation of the theme's author on making the MyListing theme officially compatible with WPML. The function that was provided to you in the other ticket, is dequeuing and changing the priority of loading scripts to enable WPML's Translation Management and Taxonomy Translation to work with the theme. We provide such fixes when possible. They are almost ready-made and only need minor tweaks. But overcoming and fixing the multilingual issues with the MyListing theme is a completely different story. It requires a lot of work. And dipper understand of the specific theme's code is needed. Therefore, we need the author's cooperation in this.

I realize that those are probably not the best news for you, but currently, and I'm sorry about that, it seems that this is the situation.

Another option that you can go with, besides urging the author of the theme to cooperate with us, is to contact one of our certified contractors from this link:
https://wpml.org/contractors/
Before doing so please have a look also here:
https://wpml.org/documentation/about-wpml-contractors/what-type-of-work-you-can-expect-from-contractors/

With our contractors, you might get the custom assistance you need to get on with your project.

If from our side there would be any news regarding this issue I'll update you here.

Best Regards,
Itamar.

July 1, 2020 at 9:50 pm #6499175

verhuurA

Hi Itamar,

I have read your last mail. Was not particular happy with it, so i kept searching myself without coding skills. I understand some things but I really dont know to much about it.

I was investigating the permalink structure once more and managed to get the language switcher to work. It's not how it should be but maybe the development team can have one more look to provide a smooth solution. I think I should try to at least share what I found.

In permalinks I selected the radio button "custum permalink" and removed %postname% and saved permalinks.

Now when you go to your created test website and you click the listing and then a flag..you will see that the language is switching correctly.

The difference is that now the url contain following
/?job_listing=demo-home

when you click another language it will look like this.

/?job_listing=demo-home/?lang=de
/?job_listing=demo-home/?lang=en

So its working... but just we have to get rid of the /?job_listing=demo-home .... and only show post title

Marc

July 2, 2020 at 11:11 am #6503297

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, Marc.

If I understand you correctly, and according to what I can see on the test site, the option that is currently on in the permalinks section is 'Plain'. Please see the attached screenshot.

If so then unfortunately I'm afraid that this is not a good solution because WPML needs to work with the pretty permalink structure of WordPress and not with the plain structure. Changing this behavior is not a simple coding task.

Please the following links as a reference.

https://wpml.org/home/minimum-requirements/

https://wpml.org/documentation/getting-started-guide/language-setup/cannot-activate-language-directories/

https://wordpress.org/support/article/using-permalinks/

Regards,
Itamar.

2020-07-02_13-56-40.jpg