Added support of switching locales in format
Authored by: artyom-beilis 2009-11-03
Parent: [r880]
Child: [r882]