updated to use messageformats own locale and object compilation
First working commit