Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to translate application forms using WPML #47

Open
elosha opened this issue Aug 10, 2023 · 0 comments
Open

Unable to translate application forms using WPML #47

elosha opened this issue Aug 10, 2023 · 0 comments

Comments

@elosha
Copy link

elosha commented Aug 10, 2023

Situation

Hey, our client got the Pro Pack and is using Job Openings together with WPML. Everything is up-to-date. It works in regard of open jobs. However I couldn't find an option to properly translate our application forms.

Let's imagine system language is German (DE). I've got an English (EN) form called "Application Form EN" and want to have it translated to German as "Application Form DE".

What happens

  • Forms lists are missing WPML's flags + translation indicators, so I can't translate nor see its status/language
  • Inside the forms editor there are translation options. I can set the language to EN. I now add a DE translation and try to translate, but
    a) Only the title is translatable (I've called it "Application Form DE")
    b) WPML complains that this form is translated by WPML, if I continue to edit it independendtly (which I don't, it's the translation editor) the translation would break, it suggests to abort
    c) The translated form ("Application Form DE") doesn't show up in the forms list
  • I needed to duplicate the EN form to DE and set the language to DE, then rename all fields
  • Of course I couldn't link it to the EN form.
  • In lists as well as the form chooser dropdown inside the jobs editor, any forms are treated like they were available in the system language, example:
    • For DE language Jobs and in lists I can see all the forms, including those set to other languages.
    • For EN Jobs, not the system language, I can't choose any forms but the default "WP Job Openings Application Form" (the auto generated form).

It should work out of the box and be less complicated.

Solvable?

But maybe I've overlooked something?
I've enabled translation of these post types:

  • awsm_job_openings –> Translatable
  • awsm_job_form –> Translatable

And these custom fields:

  • awsm_pro_application_form

My temporary workaround: Keep the enforced default form for EN job offers, select the manually generated DE one for DE job offers. But that's not what we bought the Pro Pack for …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant