Summary: | app-admin/webalizer's ebuild don't support language selection. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Minati jean michel <magnet> |
Component: | New packages | Assignee: | Jonathan Smith (RETIRED) <smithj> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | web-apps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 9988 | ||
Bug Blocks: | |||
Attachments: |
Patch to allow language selection for webalizer.
Another kind of support for webalizer language |
Description
Minati jean michel
2004-04-20 04:32:14 UTC
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 |