locale and bootstrap functions