Ran the pybabel commands for generating Spanish translations.
Added a get_locale() call to the before_request handler in app/views.py.