Using zypper 1.14.61, when I run zypper addlocale nl_NL the installation starts, however, when I compare that to zypper locales -p nl_NL I miss these 3 packages:
Packages for Dutch (Netherlands) (locale 'nl_NL', requested: Requested):
S | Name | Description
---+---------------+-----------------------------------
i+ | glibc-locale | Locale Data for Localized Programs
| myspell-nl_NL | MySpell nl_NL Dictionary
| thonny-lang | Translations for Thonny IDE
When I do rpm -qa myspell-nl_NL it indeed is not installed. Am I doing something wrong? Or is this some kind of bug?
$ zypper locales
Code | Language | Requested
------+---------------------+----------
en | English | Fallback
nl | Dutch | Fallback
nl_NL | Dutch (Netherlands) | Requested
erlangen:~ # zypper locales
Code | Language | Requested
------+--------------------------+----------
de | German | Fallback
de_DE | German (Germany) | Requested
en | English | Fallback
en_GB | English (United Kingdom) | Requested
erlangen:~ #
zypper addlocale installs packages that provide language (locale) information for the currently installed packages. I.e., packages that supplement the currently installed packages.
zypper info --provides myspell-nl_NL
could be educational.
No. Manual pages started as the reference for the available command options, not as an explanation what these options do. If manual page also provides an explanation - it is of course a nice bonus.
erlangen:~ # zypper addlocale --help
addlocale (aloc) [OPTIONS] <LOCALE> ...
Add given locale(s) to the list of requested locales.
Command options:
-n, --no-packages Do not install corresponding packages for given locale(s).
Arguments:
Specify locale which shall be supported by the language code. Get a list of all available locales by
calling 'zypper locales --all'.
erlangen:~ #
erlangen:~ # zypper locales
Code | Language | Requested
------+--------------------------+----------
de | German | Fallback
de_DE | German (Germany) | Requested
en | English | Fallback
en_GB | English (United Kingdom) | Requested
erlangen:~ #