I don't see that locales is defined anywhere. Also when do we reach that line? I don't think we get here.