Next, we need to integrate Globalize into the controllers. We will use an initializer to set up Globalize and some locale settings for the application. config/initializers/globalize.rb include Globalize Locale.set_base_language 'en-US' LOCALES = { 'en' => 'en-US', 'es' => 'es-MX' }.freeze The Locale.set_base_language method tells Globalize that our views are in U.S. English, and it need not bother with translation if the user??™s locale is the same. 266 | Chapter 8: i18n and L10n The LOCALES hash is a list mapping two-letter language codes to the actual locale names that Globalize uses.