On 16 May 2002, Olaf Meeuwissen wrote:

> I'd swear I saw it fly by on one of the debian lists I subscribe to,
> but now I can't find it for the life of me.
>
>   How do I internationalize my shell scripts?
>
> The C parts of the package are already using AM_GNU_GETTEXT if that
> makes a diference.
>
> Please tell me what FM2R and I'll happily do so.

#!/bin/sh
if [ -x /usr/bin/gettext ]; then
  echo=/usr/bin/gettext
else
  echo="echo -n"
fi
export TEXTDOMAIN=libc
$echo "cheese"
echo ""

$ LANG=es_ES; ./test-script
queso


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to