[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] po-sysv: Internationalizing the init scripts



amck@utvinternet.com wrote:
> Please avoid using /etc for the data files; under the LSB
> its reserved for configuration information, and even that is
> being transitioned out.
> 
> Also, for /etc services remember that /usr may not be mounted
> at the time, so /usr/share/locale (the 'best' place), is also
> out.
> 
> Instead, put 'core' stuff, eg for base, in something like
> /lib/locale/<lang>/<package.po>

> Why po-debconf ? gettext also supports shell, etc. (which is 
> how redhat, etc. do it).  Some /etc/init.d files , such as
> pcmcia, etc are shared across plaforms, which we would want,
> and they use GETTEXT. Why not just use gettext, placing the
> po files in the same place as redhat /mandrake, etc?
> 
> (Obviously use po-debconf for debconf stuff, but boot and
> /etc/init.d services would use
>   if [ -e /bin/gettext ] 
>       GETTEXT="getttext --domain $SERVICE "
>   else
>       GETTEXT="echo -n"
> 
>   $GETTEXT "Starting service..."
> 
> etc.

Agreed 100%.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: