Add possibility to set custom locale