ajax_register.module
for the moment I found no other way to change the language, that to edit your code. Someone told me there is a solution with .t(" "), but I am not experienced enough to chance it on my own.
Please update your code to change the language within drupal. Thanks a lot.
about line: 82
function ajax_get_login_block_content() {
global $user;
$user_uri = l('Mein Konto','user/'.$user->uid);
$login_uri = l('Anmelden', 'ajax_register/login',array('attributes'=>array('class'=>'thickbox',)));
$register_uri = l('Eintragen', 'ajax_register/register',array('attributes'=>array('class'=>'thickbox',)));
$logout_uri = l('Abmelden','logout');
if (user_is_anonymous()){
$block_content = "
". $register_uri ."
";
return $block_content;
}
else{
$block_content = "
".t("Willkommen: ")."". $user->name ."
". $user_uri ."
". $logout_uri ."
";
return $block_content;
}
}
Comments
Comment #1
compujohnny commentedAll strings in the module are surrounded with a t() which means that you can change them using the locale Translate Interface feature
Comment #2
matangi commentedWell maybe I made a mistake, but my attempts to chance the language didn't really worked out.
Thank you
matangi