Skip to content

Commit a1d9e07

Browse files
committed
package-documentation/man: add info about localized man pages.
Keep it restriced to mdocml for now, since I wasn't able to figure out how man-db works.
1 parent d2e9eba commit a1d9e07

File tree

1 file changed

+21
-0
lines changed
  • src/config/package-documentation

1 file changed

+21
-0
lines changed

src/config/package-documentation/man.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,24 @@ daemon](../cron.md) for this functionality to be activated.
5454

5555
Development and POSIX manuals are not installed by default, but are available
5656
via the `man-pages-devel` and `man-pages-posix` packages.
57+
58+
## Localized manual pages
59+
60+
It is also possible to use localized man pages from packages which provide their
61+
own as well as those provided by the `manpages-*` packages. However, this can
62+
require some configuration.
63+
64+
### With mdocml
65+
66+
If `mdocml` is being used and the settings should be applied for all users, it
67+
is necessary to add the relevant paths to
68+
[man.conf(5)](https://man.voidlinux.org/man.conf.5). For example, German
69+
speakers would add these two lines to their configuration file:
70+
71+
```
72+
/usr/share/man/de
73+
/usr/share/man/de.UTF-8
74+
```
75+
76+
Alternatively, each user can export the `MANPATH` variable in their environment,
77+
as explained in [man(1)](https://man.voidlinux.org/man.1).

0 commit comments

Comments
 (0)