You are right, lumak. My build script already contains the 'hard part' of the code for separating the locales. One 'trick' I implemented was to create individual slack-desc files for each locale which give detailed info about the locale (what country it is used in, etc). On the way there, I wound up creating a CSV list of all the locales with such details. Because of differences in the format of locale files, I had to hand-correct a few entries for accuracy.
Still, using localepurge after installing all the packages will do a more complete job since it removes unwanted locale/man-pages for all installed packages.
|