adding automatic locale to config application