My /usr/share/locale is over 300M large because it contains translations to languages that I will never use. The actual translations that are relevant to me would take only 4.2M.
I have edited /etc/locales.build to include only the locales/languages that I use. This has the effect that glibc will not allow other language translations to be used, even if they were installed.
Now I would like to request that the ebuild system would be modified so that translations for a language will not be installed for other than the languages listed in /etc/locales.build (plus of course the C locale).
Another option would be to create a post-processing script that deletes from /usr/share/locale all directories not mentioned in the /etc/locales.build.
Does the ebuild system already support this, or should I create a bug request about this one?


