added translations, fix bugs in registragistration