You'll find the installed locale in /etc/locale.gen and use that to build in an option to select a specific langauge the echo statement is displayed. I'm not familiar on how to make such a large number of options available in a script, but I imagine it to be like this:
Code:
if $(locale) != en then check for es, fr, de, nl, else echo "you'll need to be root to use this script" endif
But then understandable for bash
The Debian dev's state that aptitude is so much better then apt-get in conflict resolving, they advise strongly in using aptitude over apt-get. That means that users who use aptitude cannot use your script as this may cause conflict with aptitude. I suggest to mention the usage of apt-get in your script, allowing aptitude users to either change the script to match their use of package management (which comes down to changing all references to apt-get into aptitude) or don't use it altogether. But, it's your script
