|
Re: [webalizer] Re: webalizer - differnet languages at runtime - feature request
> > > Is there a plan to make language changeable at runtime by an option?
>
> I am also interested in this enhancement. I am working on packaging
> webalizer for inclusion in OpenSolaris and would like to provide
> support for multiple languages, but without dynamic support, I'll be
> forced to package just the English binary. Is there a patch I could
> use to get runtime language selection?
I've been looking into it.. however, due to it's multi-platform
support, using something like gettext is problematic.. for
example, Solaris uses a different mechanism and the two are not
compatable (Solaris happens to be my main development platform
by the way). What is needed is a way to provide such on-the-fly
selection in a way that will be portable across different systems.
The way we are currently doing it locally is to simply compile multiple
binaries for the languages desired.. webalizer-en, webalizer-sp,
webalizer-de, etc.. depending on how you have it setup, a simple
shell script can be implemented so language is selected on the
command line and the proper binary called.
|