updated password policy to latest version, updated code for translation issues