fixing setting the locale back to what should be expected
fix should be applyed for every window interface and generation