Localization support

Add the ability to display error messages in locales other than en-us.
this line should be indented.