the ebuild for webalizer don t support language selection.the configure need to deal with --with-language. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 29685 [details, diff] Patch to allow language selection for webalizer. This patch allow the ebuild to look for the value of $LC_ALL, then it look in /usr/share/locale/locale.alias,to check which language is it.then check if webalizer is availaible in this language.if not default ( english ) is choosen.
shouldn't ebuilds generally use the $LINGUAS variable for such things?
Created attachment 53522 [details, diff] Another kind of support for webalizer language Diff against webalizer-2.01.10-r7.ebuild
Just submitted another patch, which looks for the WEBALIZER_LANG variable, much like what is done for cameras support selection in media-libs/libgphoto2; this is much flexible than messing with system variables, and can be included in /etc/make.conf (for example, I prefer having my system using default english error messages, but customers like to have their webalizer output in their own lang...)
neither of these patches worked quite correctly, and they were both rather large and bulky... thanks for the patches though, they gave me a quick place to start i implemented a few lines of bash magic which got the job done using LINGUAS. i really do hope thatthe package is fixed to use normal abreviations for languages it will appear in -r10