How to localize a Rails plugin?
问题 I'd like to translate the OpenIdAuthentication plugin into another language but I'd like not to change the plugin directly. Here's the basic structure of the messages I want to translate: module OpenIdAuthentication class Result ERROR_MESSAGES = { :missing => "Sorry, the OpenID server couldn't be found", :invalid => "Sorry, but this does not appear to be a valid OpenID", :canceled => "OpenID verification was canceled", :failed => "OpenID verification failed", :setup_needed => "OpenID