Adds INTERNAL_IPS setting
Adds configuration for locale detection