Home›Support›English Support›[Resolved] A user applicates for a job in EN and can also applicate at the job translations
[Resolved] A user applicates for a job in EN and can also applicate at the job translations
This thread is resolved. Here is a description of the problem and solution.
Problem: You are developing a site using WPML where users can apply for jobs in different languages. You want to ensure that if a user applies for a job in one language, they cannot apply for the same job in another language. Additionally, you want all applications to be visible in the job dashboard across all language versions. However, users are currently able to apply for the same job in different languages, and applications are shown separately in the job dashboard for each language version. Solution: We have identified that this behavior is expected since jobs are translated and have different post IDs, making them distinct posts in each language. Therefore, Job Applications are also treated separately for each language. We recommend leaving the Job Application translatable and allowing users to apply in both languages. If this solution does not meet your needs, you may consider submitting a feature request to the WP Job Manager authors for the desired functionality. You can submit this request through their support or GitHub at https://github.com/Automattic/WP-Job-Manager/issues.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am developing a site where users can apply for jobs in different languages using WPML. I want to ensure that if a user applies for a job in one language, they cannot apply for the same job in another language. Additionally, all applications should be visible in the job dashboard across all language versions.
Symptoms:
Users are able to apply for the same job in different languages, and applications are shown separately in the job dashboard for each language version.
Questions:
How can I prevent users from applying to the same job in different languages?
How can I ensure that all job applications are visible across all language versions in the job dashboard?
Meanwhile this ticket is attended by one of my colleagues, I'll request more information about the issue, like:
- The plugin you're referring to for jobs management.
- Links on the frontend, where this issue can be observed.
- Related screenshots or screen recording for better understanding.
Hi,
Thanks, short intermediate question: would it be possible to transfer this ticket to https://wpml.org/forums/users/bigulm1/ because he works with other tickets from me all about the usage of WP Jobmanager? WP Jobmanager is unfortunatley not fully WPML ready and I have some tickets open.
If this is not possible, I will give you all the info you need in the next answer, of course, ok?
Thanks, kind regards
Eric
thanks for getting back, I will be handling the issue and speed things up for you, so hopefully we can quickly solve this.
I have checked and WP Job Manager is compatible with WPML so should work fine, if not as for you report in this ticket, then it is probably a new bug and this needs ti be escalated to our compatibility devs.
I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.
You can access the WordPress dashboard using the link below:
- hidden link
Try to replicate the issue with a very simple example page.
This will help us to report the probable issue to the compatibility team and solve the possible problem faster.
Please check the WPML setting of applications, I set applications translations to no, because I want show all apoplications here hidden link
the same content is here: hidden link
And this good.
So we have here the situation, that the application at the job in EN is not shown in job DE and the user could applicate here again.
Thanks for getting back and taking the time to reproduce this. I have checked, and as I can see this is expected since jobs are also translated, they have different post IDs and are different posts, in the same way, Job Applications should be in different languages.
The best I can suggest is to leave the Job Application translatable and allow users to apply for both languages or ask for this feature request from WP Job Manager authors, we would be glad to collaborate. For example ,I see in Job Application there is post ID 60 for EN listing, but you can not add another for 61 for DE listing.
Hope this helps, you can submit a feature request via their support or GitHub:
hidden link
Let me know if there is anything else I can do for you.