Forum Replies Created
I am trying to change the date format in the login widget, too. (Instead of: Your Account Expires: 15-03-2013 it should be Your Account Expires: 15. 03. 2013)
I don’t find the described code in eMember_auth_utils.php. Has the procedure changed? Or is there an easier way now?
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/]
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.
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);
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’;
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?