added config for locale(not working properly)