Added support for changing locale.
Fixed issue with exception being thrown in postcontruct method
Added functionality for changeing between locales.