Rob de Cleen
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Error: Contact form not found – with second languageForum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being found (2)Quick update:
Stéphane Bouey, the developer of Falang multilanguage for WordPress, has very quickly found a solution to work around this issue. It will be included in the next version of Falang.
He also generously mentioned that for the WPML guys the solution may be in looking to disable filtering for the ‘wpcf7_contact_form’ post type.
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being found@moritzcito Thanks for the tip, I will look into it
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundWhy is the status set to RESOLVED? It has not been adressed….
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundI do love your plugin, it is great in many respects. Just trying to point out the issues encountered.
While I understand the reasoning behind following the language setting of the user creating the new form, i.e. to present a local language form template, setting the locale this way has (unintended) consequences.
If for example an Italian admin creates new forms (Add button) for EN, DE and FR, they will all get it_IT locale.
If that admin uses a duplicate from a previous EN form (en_US locale) and adapts it to create an NL mail form, it will preserve the en_US locale.None of these forms will display with their shortcuts on the designated language pages because of a locale mismatch. It would be great if there was a simple dropdown box to set the form locale, either that or maybe rethink the locale approach as a whole. Not every user has the ability to change the form locale in phpmyadmin.
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundSimply put:
With CF7 6.0.6 I could (without issue) publish (with the respective shortcodes) both EN and NL forms on an EN page and EN & NL forms on an NL page.With CF7 6.1.1 I can ONLY show a form on an exact match locale page. But since form locales seem to be sometimes taken from the site language, sometimes from the user interface language, this results in “form not found” if the form locale (set by CF7) does not exactly match the page locale which the shortcode is published on.
And what happens when the site language is changed later on?This was discussed by you February 20, 2016:
https://contactform7.com/2016/02/20/contact-form-7-44/Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundHi,
I think I have found the issue, it’s in the unnecessary (and inaccurate) locale which CF7 sets (adds) to the forms.
On my devsite (en_US) both forms (EN and NL) had en_GB set as their locale, which is my admin user’s language setting…If I use phpmyadmin to change (in the postmeta table) the locales to en_US for the EN form, and to nl_NL for the NL form, then the front end correctly shows the EN form on the EN page and the NL form on the NL page, with latest Falang (1.3.66) and latest CF7 (6.1.1).
It seems to be an old issue, found it here:
https://ww.wp.xz.cn/support/topic/contact-form-7-messes-translations-up/So CF7 mixes up the form locale and the site locale, somehow it does strange things. The forms should have NO locale set in my opinion? Or at least have the option to easily change it? Can this be fixed?
Rob
Related link:
https://ww.wp.xz.cn/support/topic/contact-form-7-loads-wrong-language/#post-17168206- This reply was modified 8 months, 4 weeks ago by Rob de Cleen. Reason: related link added
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundJust to let you know, unfortunately CF7 6.1.1 has not (yet) fixed the described issue…
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundHi, is there any news at all on this issue?
To rule out possible shortcode errors, I have (on a test site) set both the EN and translated NL form on the same page. Then translated the page. With CF7 6.1 only the EN page shows both forms correctly. The NL page (translated page) gives the “form not found” error for both the EN form and the NL form…
Rollback to CF7 6.0.6 and all is okay again…
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundAs expected, that did not make any difference 🙂
I think I have narrowed the issue down to the interaction between CF7 and Falang. On a test site if I publish both EN and NL language forms on one page, the EN version of the page shows both forms. Switching to the NL page then results in both Contact Forms “not being found”.
Like I mentioned initially: in CF7 version 6.0.6 this worked flawlessly. In CF7 version 6.1 the contact form is not found on the NL page. So something changed in CF7 6.1 which interacts differently with Falang multilanguage for WordPress. I will also contact the developer of Falang, but I would appreciate if you keep this open for now and maybe look into what could have changed in CF7 6.1 to cause this to give us a clue.
Thanks for your help so far.
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundTheme: Enfold
Plugins:
Akeeba Backup CORE for WordPress
Avia Special Character Converter Plugin Version
Booking Calendar
Catch IDs
Classic Editor
Classic Widgets
Contact Form 7
CookieYes
Disable REST API
Display Posts
Easy WP SMTP
Enable Media Replace
Falang multilanguage for WordPress
Falang Pro
Flamingo
Image Alt Text
Loco Translate
Manual Related Posts
Optimize Database after Deleting Revisions
Phoenix Media Rename
Query Monitor
Really Simple CAPTCHA
Regenerate Thumbnails
Travelers' Map
Widget Options
Wordfence Security
W3 Total Cache
WP Express Checkout
WP Rollback Version
WP Sitemaps Config
But how is this relevant? CF7 6.0.6 works fine, 6.1 has the issue with finding the second contact form…Thanks for looking into this
- This reply was modified 10 months, 3 weeks ago by Rob de Cleen.
Forum: Plugins
In reply to: [Contact Form 7] Second CF7 form (translation) not being foundEN https://mforamsterdam.com/info/contact/
NL https://mforamsterdam.com/nl/info/contact/
But like I mentioned, there CF7 has been rolled back to version 6.0.6 which does not have the problem.
- This reply was modified 10 months, 3 weeks ago by Rob de Cleen.
- This reply was modified 10 months, 3 weeks ago by Rob de Cleen.
- This reply was modified 10 months, 3 weeks ago by Rob de Cleen.
Hi,, thanks for getting back to me. Yes, the specification in the plugin of the thousand and decimal separator works fine, as does the translation of the descriptions in the backend. But for translations to have a different specification of those keys (, instead of . and . instead of ,) those two keys need to be translateable as well (to show on the frontend), which they are not now. So they are now fixed across languages as specified in the backend.
Hi guys,
Thanks for the wpml-config.xml file included in the plugin. I am faced with a small issue, hope you can help me solve it.
UK and US use comma (,) as a thousands separator, most European countries use period (.)
UK and US use period (.) as a decimal separator, most European countries use comma (,)So I need a way to translate these as well, but the two entries in your wpml-config.xml file are commented:
<!-- <key name="price_decimals_num" /> --> <!-- <key name="price_decimal_sep" /> -->Same goes for Total and Quantity in the front end display. Anyway you can help make these translatable? Thanks in advance
Excellent, thanks for your hard work!