I am using qtranslate for bilingual Wordpress. One of the problems I am facing is the contact pages of contact person 7.
I need Arabic texts as options only when the user sees the site in Arabic.
Say I have the following:
[radio paymethod "VISA" "MASTERCARD" "AMEX"]
I need to show the values ββin Arabic in Arabic mode.
I also need to get error / success messages in other languages ββ(e.g. when switching a language).
I tried changing the settings.php plugin. It was
return (string) $wpcf7_request_uri;
and now
$lang = "&lang=" . qtrans_getLanguage(); return ((string) $wpcf7_request_uri) . $lang;
Changes my url to: http://example.com/contact-us/&lang=ar#wpcf7-f289-t1-o1 and becomes 404 .
qTranslate has three configurations for the language. 1. query string 2. pre-Path Mode (puts / en / front) 3. ru.yoursite.com. I am using 2.
source share