support for locale configuring added