Ensure an available locale is used

Removes deprecation warning.

Rails 4.0.2 fixes a potential XSS security issue with I18n. The default in
Rails is now to raise if a locale that is not available is used.