output in different languages

hello,

i have to change a lot of shell scripts for one reason :

the output in a script should be done in different languages.

for example:

echo "this is a test"

and "this is a test" should be printed out in language for an example: german,italian and so.

i saw a tool "gettext" , is it useable for this ?

also should work

echo "this is a test of Variable $Var"

regards

The GNU gettext approach is one way of doing it. Most UNIX vendors however use dspmsg.

Thank you for your fast answer. I made some tests with gettext (HP-UX,Linux). We will choice gettext.