properly switch locale to work with already loaded locales