I need to find out just the packages installed for current locales. That packages, which are installed if you open the Language support in the System settings after fresh installation of Ubuntu. They are usually packages installing localized strings and help into the preinstalled packages and also some packages serving localization of Ubuntu.
I found this pretty cool trick how to list manually installed packages and localization packages. But I need just to list the localization ones.
The output of that cool trick looks like:
brackets
build-essential
fluxgui
folder-color
gitg
gnome-paint
google-chrome-stable
hunspell-en-ca
hyphen-en-us
language-pack-gnome-cs
libgmp-dev
libkrb5-dev
libnss3-dev
liboxideqtquick0
libpcap-dev
libreoffice-help-cs
libreoffice-help-en-gb
libreoffice-l10n-en-gb
libreoffice-l10n-en-za
libssl-dev
linux-headers-3.13.0-44
linux-headers-3.13.0-44-generic
linux-image-extra-3.13.0-44-generic
linux-image-3.13.0-44-generic
maxthon-browser-stable
myspell-cs
myspell-en-au
myspell-en-gb
myspell-en-za
mythes-cs
mythes-en-au
mythes-en-us
openjdk-6-jre
openjdk-7-jre
openoffice.org-hyphenation
pipelight-multi
python-requests
thunderbird-locale-cs
thunderbird-locale-en
thunderbird-locale-en-gb
thunderbird-locale-en-us
ttf-mscorefonts-installer
vlc
wbritish
wine1.6
wine1.7
yasm
But I need just these (probably):
hunspell-en-ca
hyphen-en-us
language-pack-gnome-cs
libreoffice-help-cs
libreoffice-help-en-gb
libreoffice-l10n-en-gb
libreoffice-l10n-en-za
myspell-cs
myspell-en-au
myspell-en-gb
myspell-en-za
mythes-cs
mythes-en-au
mythes-en-us
openoffice.org-hyphenation
thunderbird-locale-cs
thunderbird-locale-en
thunderbird-locale-en-gb
thunderbird-locale-en-us
wbritish
somehow automatically. Could you help me please?
Assuming that you selected English when installing, these commands ought to add all the language and language support packages for both Czech and English: