                         let state: ValidationState = availability.username ? .OK : .Error
 
                         if !availability.username {
-                            self.usernameView.setErrorMessage("Username already exists.\nPlease try a new one.")
+                            let msg = NSLocalizedString("Username already exists.\nPlease try a new one.", comment: "username exists error message")
+                            self.usernameView.setErrorMessage(msg)
                             if !availability.usernameSuggestions.isEmpty {
                                 let suggestions = ", ".join(availability.usernameSuggestions)
-                                self.usernameView.setMessage("Here are some available usernames -\n\(suggestions)");
+                                let msg = String(format: NSLocalizedString("Here are some available usernames -\n%@", comment: "username suggestions message"), suggestions)
+                                self.usernameView.setMessage(msg);
                             }
                         }
                         self.usernameView.setState(state)

                    })
                } else {
                    self.emailView.setState(.Error)
                    self.emailView.setErrorMessage("That email is invalid.\nPlease try again.")
                }
                self.updateView()
            }
        }

        passwordView.label.setLabelText("Password")
        passwordView.textField.secureTextEntry = true
        passwordView.textFieldDidChange = { text in
            self.valueChanged()

            }
        }

        emailView.label.setLabelText(NSLocalizedString("Email", comment: "email key"))
        emailView.textField.text = currentUser?.email
        emailView.textFieldDidChange = { text in
            self.valueChanged()
