made the labels receive the value of the current locale selected