O Xoves, 16 de Maio de 2002 �s 15:47:31 +0900, Olaf Meeuwissen escrib�a:

>   How do I internationalize my shell scripts?

 If you use bash, it's easy:

#!/bin/bash -e
export TEXTDOMAIN=name_your_text_domain_here
echo "this string is not i18n-ed"
echo $"but this string is"

 You can extract the strings (and add them to your already existing pot
file) with the command:

bash --dump-po-strings name_of_your_script >> master_pot_file

 Then you can do as usual with the pot file.

-- 

   Tarr�o
(Compostela)


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


Reply via email to