plugin: translation.sh : replace loops with assisiative array