Viewing 9 replies - 1 through 9 (of 9 total)
  • when you create a new form, the admin dashboard url is set to:

    https://<your-website-domain>/wp-admin/admin.php?page=wpcf7-new

    add the locale parameter at the end with the language code to enable the correct language in the new form form, for example

    https://<your-website-domain>/wp-admin/admin.php?page=wpcf7-new&locale=fr

    will create your form in French.

    I am about to release a new extension to CF7 to enable polylang compatibility. You will then be able to manage form languages as per polylang language set up.

    I tried your suggestion by changing the url and adding the local parameter. e.g. i now want an english form.

    Translation for messages is ok now, but when I use form tag generator for file upload it still ads the tekst (no file selected) in dutch (geen bestand geselecteerd) and the file selecton button says “bladeren” in stead of “browse”.

    Is there a way to change this?

    Please advise.

    Or is the new release imminent?

    Hi Freddie

    apologies, I forgot to mention that you also need to download the correct locale for the language that you want your form in. By default the CF7 plugin installs the locale of your dashboard.

    To get other locales you need to download them from the WP translation site.

    Click on the row of the language you are looking for, it will take you to that language’s page, scroll to the bottom of the page and you will see an Export link. from the drop down, select Machine Object format (.mo).

    Unzip the file you downloaded and place the contact-form-7-<locale>.mo file in the languages folder of the CF7 plugin directory.

    Then make sure you use the same locale code in your URL.

    For example, if you downloaded contact-form-7-en_GB.mo, then the url to create a form in that locale will be,

    https://<your-website-domain>/wp-admin/admin.php?page=wpcf7-new&locale=en_GB

    hope that helps. Note, not all translations are complete, some locale have missing text which default to the initial locale. If you wish to change the translation, you can download the POT file and use the Poedit tool to modify/add translation which can then save as .mo file again.

    Thanks. Tried your suggestion, use polylang so all translations should be in place. But the button tekst and tekst beside the button did not change ??

    https://www.pillowplate.com/en/quote-request/

    Look for the file upload button.

    Hope the update wil work.

    CF7 does not support polylang. I said I was working on an extension which I will be releasing shortly. Till then the only way is as I have described it above.

    I will let u know once the extension is ready.

    Thanks.

    Hi Freddie, just posted a thread with the new polylang extension plugin for CF7.

    Thread Starter GSMtricks

    (@gsmtricks)

    Hi again.
    So i use admin.php?page=wpcf7-new&locale=ar for create arabic form.
    RTL works ok, but messages when submit work – still in English….
    How to make form work in arabic? Before was all ok, don’t know why you remove that feature with language selection. Don’t know how to use it now in arabic…

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to create for in other lang?’ is closed to new replies.