Allows pass Locale as array of parameters
WW-4253 Removes duplicated class and style attribute
WW-4290 Uses static map instead instance map to reduce memory consumption