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
You are here: Home

ChristianeWa

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • November 19, 2013 at 10:32 pm in reply to: Multilanguage support #37675
    ChristianeWa
    Member

    Hello,

    I’ve tried to modify the wp-eMember/wp_eMember1.php file to make it work with WPML as explained in multilanguage_support thread.

    However, it doesn’t work for me because the lang coding of the 2 plugins doesn’t match except for French(EN vs ENG, DE vs GER, NL vs NLD). Please note, the base language of my site is French.

    Here’s what I have added to try to make it work:

    function emember_bootstrap(){

    global $eMember_language_file;

    include_once(’emember_config.php’);

    $emember_config = Emember_Config::getInstance();

    if (ICL_LANGUAGE_CODE == “fr”){

    $language_file = ‘lang/fr.php’;

    }elseif (ICL_LANGUAGE_CODE == “nl”){

    $language_file = ‘lang/nld.php’;

    }elseif (ICL_LANGUAGE_CODE == “en”){

    $language_file = ‘lang/eng.php’;

    }elseif (ICL_LANGUAGE_CODE == “de”){

    $language_file = ‘lang/ger.php’;

    }else{

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

    }

    include_once($language_file);

    I don’t get any message error but all of the restricted content is now visible.

    Can you please help!

  • Author
    Posts
Viewing 1 post (of 1 total)

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