`locale[0]` should be `locale.join('-')` as well.