Multilingual Jobs page url not translating WPJM and WPML
-
Hello,
my team and I have adopted the WP Job Manager Plugin for one of our projects. Our client is an italian agency that needs a bi-lingual website (german and italian). Therefore, we use WPML in combination with your Plugin.
As you know, a default jobs page can be set where all of the job widgets (such as filters) and the job listings will appear. In our case, this page is called “Stellenangebote” (“Jobs” in german), which has been translated with WPML and has the following urls: “www.websitename/stellenangebote” (in german) and “www.websitename/it/offerte-di-lavoro” (in italian). The [jobs] shortcode is added in both versions of the page. In german, which is the website’s main language (set through WPML), everything is working fine. On the same page, we also have a language switcher, which can switch to the italian version of the page on click. But when a user clicks on the switcher, instead of going to the translated url (“www.websitename/offerte-di-lavoro”) it goes to “www.websitename/it/stellenangebote”, which is a page that does not even exits. On “www.websitename/it/stellenangebote”, everything still works fine, but if we click on the “Offerte di lavoro” page from the main menu, it goes to the page “www.websitename/it/offerte-di-lavoro”, which looks broken and has no job widgets (although it does have a job list with default styling).
We don’t understand how or why this is happening. Our objective is to have one page with different slugs in different languages. So, when a user is on “www.websitename/stellenangebote” and clicks on the language switcher, it should be directed to “www.websitename/it/offerte-di-lavoro”, where the job widgets, styling, and list should appear and function exactly like in the german version.
We tried looking through your plugin’s code, and, as disclosed in the following thread ( https://github.com/Automattic/WP-Job-Manager/issues/786 ), the issue should have been fixed and the plugin should be compatible with WPML as of now. So we don’t understand what we’ve been doing wrong.
- The topic ‘Multilingual Jobs page url not translating WPJM and WPML’ is closed to new replies.