Merge "Implement locale matching in LocalesList."