I already forgot what we were doing in this method. Would be handy to give more detail in comment.
Something like:
Modify original locales.ini file by keeping default 'en-US' .properties,
and duplicating them for each locale specified in `locales`.
We just replace "en-US" in .properties file path with the locale name.

We should also document `locales` argument. An array of locale names.