locale is retrieved dynamically from properties file.