add config for locale