Set the Locale

To optionally set the default locale that you want the console to use for localization:

Modify the pyramid.default_locale_name entry in the [app:main] section of the configuration file with a Linux-compliant locale name. For example:
pyramid.default_locale_name = en
x