I need to get the error/success messages in the other languages(ie when the language is switched).
I tried changing
settings.php of the plugin. It was
return (string) $wpcf7_request_uri;
and now is
$lang = "&lang=" . qtrans_getLanguage(); return ((string) $wpcf7_request_uri) . $lang;
Its changes my url to:
http://example.com/contact-us/&lang=ar#wpcf7-f289-t1-o1 and that becomes 404.
qTranslate has three configs for language. 1. query string 2. pre-Path Mode (puts /en/ in front) 3. en.yoursite.com. I am using 2.