Rewrite install-locales rule.