Use hash instead array. See http://projects.theforeman.org/projects/foreman/wiki/Translating