for lang in 'en' 'sv'
do
    sudo apt-get install \
        "aspell-$lang" \
        "hunspell-$lang" \
        "hyphen-$lang" \
        "mythes-$lang"
done