condition for locale