set proper variable for locale change