Skip to content

Unable to translate application forms using WPML #47

@elosha

Description

@elosha

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 …

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions