Added locale selection capability.