Files
Dima Panov 33c8b4b3f8 usr.bin/man: allow man(1) to search translated manpages in pure $man_lang subdirectory (+)
Currently our man(1) utility search manages only in $lang_country.$charset, $lang.$charset and,
as failover, in en.$charset which is historical behavior.
But nowadays most of ported software uses only $lang subdirectories for translated manpages
instead of use full locale notation, for example, share/ja/man1, share/de/man1, share/ru/man1.
In such cases, our man(1) utility cannot find any translated manpages and silently fallback to english version.

Add $man_lang in search path allows man(1) search and use translated manpages under historical and modern path traditions

MFC after:		1 day
MFC to:			stable/15 stable/14
Reviewed by:		ziaee, fernape
Approved by:		fernape
Differential Revision:	https://reviews.freebsd.org/D55805

(cherry picked from commit 5250c98908)
2026-10-28 01:06:59 +03:00
..
2026-08-06 18:26:27 -04:00
2026-01-10 13:33:13 -08:00
2026-06-02 16:42:03 +00:00
2025-02-19 21:34:42 -05:00
2026-08-06 18:26:27 -04:00
2024-12-09 13:39:21 +01:00
2025-05-19 10:29:55 +01:00
2026-02-05 19:19:32 -05:00
2026-02-18 00:18:38 +00:00
2023-08-16 11:55:26 -06:00
2024-12-09 13:39:21 +01:00
2025-03-23 21:40:28 -04:00
2026-07-21 17:04:28 +00:00
2026-06-19 20:25:44 -07:00
2026-08-06 18:26:27 -04:00
2023-08-16 11:55:03 -06:00
2025-01-29 18:33:13 +00:00
2026-09-24 09:39:20 -04:00
2026-04-12 08:43:35 -05:00
2025-11-04 16:29:38 +01:00
2025-08-14 14:00:09 +00:00
2025-02-19 21:34:42 -05:00
2025-02-19 21:34:42 -05:00
2026-09-03 11:56:44 +00:00
2026-09-25 18:48:17 -07:00
2026-06-08 23:00:53 +00:00
2023-08-17 15:08:30 +02:00
2025-05-07 14:24:11 -07:00
2026-04-02 11:47:59 +02:00
2025-05-21 17:33:09 +00:00
2025-07-14 12:44:44 -04:00
2026-08-31 17:30:24 +00:00
2023-08-16 11:55:03 -06:00
2026-09-03 11:56:44 +00:00
2025-02-19 21:34:42 -05:00
2025-01-29 10:51:31 +01:00
2023-08-16 11:55:03 -06:00
2024-01-21 17:08:48 +01:00
2026-08-06 18:26:27 -04:00
2026-06-09 08:12:23 +00:00
2026-08-24 11:53:22 +02:00
2024-12-28 11:17:27 -07:00
2026-08-05 12:06:42 -04:00
2025-01-15 10:55:01 +01:00
2023-08-16 11:55:03 -06:00
2026-09-03 11:56:44 +00:00
2026-05-28 10:02:52 +02:00
…
2025-08-05 09:30:01 +00:00
2023-08-16 11:55:03 -06:00
2025-05-07 14:24:11 -07:00
2025-05-07 14:24:11 -07:00
2026-09-25 18:48:17 -07:00