utilities for working with locales
