Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – how to integrate with qTranslate

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – how to integrate with qTranslate

Tagged: multilingual site with qtranslate, use multiple languages

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 2 months ago by admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 12, 2013 at 3:22 pm #8556
    compass international
    Member

    I am trying to build a multilingual site. I want to use qTranslate. Switching the language works well for my content, but not for the standard texts that come from eMember. I couldn’t figure out how to do it from other related posts cause they explained how to do it for eStore. So could you please give me some instruction on what to do / what to alter to get this to work? Thank you.

    (I could also switch to WPML if that is easier).

    February 13, 2013 at 2:26 am #53791
    admin
    Keymaster

    This post should help (look at the 3rd page where it has example for WP eEmember):

    https://support.tipsandtricks-hq.com/forums/topic/multilanguage-support/

    February 13, 2013 at 1:16 pm #53792
    compass international
    Member

    I tried these instructions:


    $lang = $emember_config->getValue(‘eMember_language’);

    if (!empty($lang))$eMember_language_file = WP_EMEMBER_PATH .”lang/”.$lang.”.php”;

    else $eMember_language_file = WP_EMEMBER_PATH.”lang/eng.php”;

    $eMember_language_file = apply_filters(’emember_get_language_path’, $eMember_language_file, $lang);

    include_once($eMember_language_file);

    2. Once you find it replace it with the following block of code:

    //Specify which language file to load based on WPML language selection

    $language_file = ‘lang/’.ICL_LANGUAGE_CODE.’.php’;

    include_once($language_file);


    I added the code exactly like this. Now it displays the field names like “EMEMBER_USER_NAME” and “EMEMBER_PASSWORD” instead of the translations for the fields.

    Do I have to make any other settings or alterations?

    Thx!

    February 13, 2013 at 2:42 pm #53793
    compass international
    Member

    I now installed WPML. I also renamed the language php files from ger.php to de.php and eng.php to en.php cause I thought they need to match the language code. Still it doesn’t work. It seems like there is no value for the variable being passed.

    February 14, 2013 at 2:10 am #53794
    admin
    Keymaster

    Can you tell me what language you are selecting or using on your site? Also, can you please post a link to your site?

    February 14, 2013 at 4:35 pm #53795
    compass international
    Member

    I want to use English and German. At the moment German is set as the default in eMember.

    You can find the site here: [http://contact2culture.de/wordpress/]

    February 15, 2013 at 3:03 am #53796
    admin
    Keymaster

    I need to take a look at some settings so I sent you an email to get access to your site.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ