]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/homectl.xml
user-record: Add languages field 31206/head
authorAdrian Vovk <adrianvovk@gmail.com>
Sun, 4 Feb 2024 17:27:01 +0000 (12:27 -0500)
committerAdrian Vovk <adrianvovk@gmail.com>
Tue, 13 Feb 2024 22:39:14 +0000 (17:39 -0500)
commit49e55abb7f74f0ae38e81356654746affa0d290f
tree33a3d9cee0903ea9752e8dff36a010462ad3a894
parentfa485e8fc5adfbfce28af865c689376840562bab
user-record: Add languages field

This field is like preferredLanguage, but takes a priority list of
languages instead. If an app isn't translated into a user's primary
language, it can fall back to one of the other languages in the list
thus making the app more accessible to the user.

For instance: in my experience, many Ukrainians are fluent in Russian,
often significantly better than English (especially if they are of a
generation that grew up during the USSR). Such a person might set this
new variable to ["uk_UA.UTF-8", "ru_UA.UTF-8"] so that software that
lacks Ukrainian translations will first try Russian translations before
defaulting to English.

Fixes #31290
docs/USER_RECORD.md
man/homectl.xml
shell-completion/bash/homectl
src/home/homectl.c
src/login/pam_systemd.c
src/shared/user-record-show.c
src/shared/user-record.c
src/shared/user-record.h