fix dialect overflow in locale picker

for example show TW instead of zh-TW

closes #2803