improved loading the locale