ENYO-554: reset locale if necessary when sample changes