first implementation for a localeresolver