Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with job listings visibility across different languages on their website. Specifically, jobs added in German (DE) are not visible in other languages, despite the site's standard language being English (EN).
Solution:
We explained that the behavior observed is expected due to the configuration settings:
1. The 'fallback to default language' feature functions only when the original post is in the default site language, which is English in this case. This means that for jobs posted in English, they will be visible in all languages without needing a translation.
2. For jobs posted in German, they need to be manually translated into other languages to be visible. We recommend using the Advanced Translation Editor for this purpose, where the automatic translation feature can help streamline the process. For detailed guidance on using this feature, please visit https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/#automatic-translation.

If this solution does not apply to your case, or if it seems outdated, 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. Additionally, if further assistance is needed, 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.

This topic contains 3 replies, has 2 voices.

Last updated by Long Nguyen 6 months, 3 weeks ago.

Assisted by: Long Nguyen.

Author Posts
June 4, 2024 at 2:06 am #15699575

ericH-23

Hi,
Thanks for the answer.
I have now following situation:
Standard language is EN
Added the code for disabling translation of the title
1) job_listing = Translatable, use translation if available or fallback to default language
a) user adds a job in EN
- no translation is done
- job is seen with all languages
- job type is shown in English in other languages, in spite this taxonomy is translated
b) user adds a job in DE
- no translation is done
- job is only seen in DE
2) now switching job_listing = Translatable, only show translated items
a) user added job in EN
- is translated
- job seen in all languages
- job type is translated
b) user addes job in DE
- is not translated
- job is only seen in DE
Additional info: the DE job is also hidden in other languages in the user listings, thats bad also

So my main question at the moment is: how can I have the DE job seen in all languages?

Thanks, kind regards

June 4, 2024 at 2:14 am #15699578

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Eric,

Here is the new ticket. It is expected behavior in both points 1 and 2.

1. The fallback feature only works if you have the original post (job) in English language as the default site language. "fallback to default language" means "fallback to default site language".

2. The automatic translation feature only works if the language of the original post is in the default site language. That means:

a. If the job is created in English language, it will be translated automatically.
b. If the job is created in the German language, you need to translate it manually into other languages. In the Advanced Translation Editor, you can use the automatic translation feature, please follow the documentation https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/#automatic-translation

Looking forward to your reply.
Thanks

June 4, 2024 at 6:22 am #15699762

ericH-23

Hi,
Thanks, that are bad news.

I am planning to have a huge multilanguage job site.

So a user can switch the language. And if he adds a job in DE for example and switches to EN he don't see his job listing anymore, not in the job list and nor in his account.
And your solution, that I have to translate a job manually in different languages is not practicable.

What I need is:
No translation of title and content, that is user content, and the user should be able to add a job listing in every language and this jobs must be seen in all languages.
So the best way would be to set the job_listings = Translatable, use translation if available or fallback to default language.

But additional I need to have the job_listing seen in other languages also, if they are not added with the standard language.

Is there a functions.php code for this?

Thanks, kind regards

June 4, 2024 at 9:58 am #15700990

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

I assume that you are talking about the user account page in the frontend, which is supported by the plugin WP Job Manager. As I mentioned above, if the post (job) is created in German language, it won't be translated automatically and displayed as a fallback in other languages.

I suggest you check the current language, if it isn't English, redirect the user to the user account page in the English language to create the job. Please follow the documentation https://wpml.org/faq/how-to-get-current-language-with-wpml/

If you are not able to accomplish this, I would recommend you contact one of our certified partners who will be more than happy to help you with this. In this link, you will find a list of our certified partners: https://wpml.org/contractors/

Thanks.

June 4, 2024 at 11:48 am #15701832

ericH-23

Hi,
Ok, Thanks, I found a code which set every time the standard language to a post and it works.
Great, to have this now working.
Thanks, kind regards