react better to changes in locale