Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9186813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:37:21+00:00 2026-06-17T19:37:21+00:00

I am using qTranslate for bilingual WordPress. One problem I have is with Contact

  • 0

I am using qTranslate for bilingual WordPress. One problem I have is with Contact Form 7 contact pages. I need the Arabic texts as options in the Contact 7 form, only when the user is seeing the site in Arabic.

Lets say I have the following:

[radio paymethod "VISA" "MASTERCARD" "AMEX"]  

I need to show these values in Arabic when its Arabic mode. Also 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
```php
    $lang = "&lang=" . qtrans_getLanguage();
    return ((string) $wpcf7_request_uri) . $lang;

It changes my url to: http://example.com/contact-us/&lang=ar#wpcf7-f289-t1-o1 and that results in a 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.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:37:22+00:00Added an answer on June 17, 2026 at 7:37 pm

    I have found the solution.

    The contact forms can be created using a locale at the beginning. I contacted the Plugin Author and he directed to this page

    I also made changes to the settings.php of the Contact form 7 as the following:

        function wpcf7_get_request_uri() {
           global $wpcf7_request_uri;
           if (($GLOBALS['q_config']['hide_default_language'] == 1) AND ($GLOBALS['q_config']['default_language'] != $GLOBALS['q_config']['language']))
            return ((string) '/' . $GLOBALS['q_config']['language'] . $wpcf7_request_uri);
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using gettext in Wordpress to create a bilingual theme, do we have to
I am using qTranslate in wordpress and have enabled the option to choose language
I want to translate a frontend Magento store using only one csv file. So
I am using qtranslate wordpress plugin to store blog content in multiple languages. Now
I have a WordPress site in two languages (Hebrew and English) and I need
I'm using qTranslate on a Wordpress site but am having a little trouble working
I'm running a wordpress blog with qtranslate. It's using 3 languages. I created a
I am creating a multilingual website using wordpress as CMS. i am using qTranslate
I have successfully done one side animation using Translate Animation means the image goes
The following is my code for using Google Translate. I have one dll I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.