add support for locale