In line 5 above, you cache this on `locale`.  I'd just use that--`locale(info.cmd);`