Move locale settings to the config file