A language whose keyboard cannot type Latin letters now also gets a US
layout and a switch shortcut, in X11 and Hyprland alike. The waybar,
polybar and i3 labels are written in the language chosen at install.
Upstream Anaconda lets the user screen be left empty, which would
install a system whose login screen nobody can get past, since root is
meant for repairs only. Going back to pick another language also kept
the first language's keyboard: with the keyboard screen hidden, the
layouts now always come from the language.
iwlwifi and nouveau ship several versions of the same firmware and load
only one. The versions each driver supports are read from the
MODULE_FIRMWARE declarations of the kernel package the ISO installs, so
the list follows kernel and firmware updates.
Beyond the installer file, the checker covers the system and Anaconda
files, refuses a namespace shared by two files, and checks that texts
added to Anaconda keep the markup, shortcuts and line breaks of the
English text.
Menu entries, the SDDM theme and polkit policies are read by programs
that know nothing of the FWS catalogs: every language is written into
them at build time, and each program picks its user's language.
Each text is added to anaconda.mo only when Anaconda has no translation
or a copy of the English text: its own translations always win. One
catalog serves both the Python code and GtkBuilder, so the .mo is
rewritten rather than a second domain added.
Several languages get parts of Anaconda's screens in English (Bulgarian
lacks most of the root account screen). These fill the gaps of the
screens FWS shows.
It loads every text of the given namespaces with a single fws-i18n call
instead of starting Python for each message, and accepts translated
yes/no answers.
The FWS tools of the installed system need the same lookup as the
installer screens, but must not depend on Anaconda's folder: its path
follows Python's version and Anaconda can be removed after installing.
The language now follows gettext's order of variables, and
/etc/locale.conf for the tools started through sudo.
The installed system is a copy of the live: with [fws] declared here, the
FWS packages are updated by pacman like any other. The repository is
unsigned, so it keeps the "Optional TrustAll" level of the build profiles.
Nothing reads the documentation at runtime, and the live never loads the
/boot microcode images; the installed system gets its microcode from
/usr/lib/firmware through mkinitcpio.
The image is built once and booted everywhere: xz over decompressed
modules shares one dictionary across the archive and saves about 9 MiB
over per-module zstd. The installer removes this file from the target.
systemd-boot needed its own copy of the kernel and initramfs in the EFI
partition; GRUB reads them straight from the ISO 9660 file system.
fws-i18n is also made executable in the image.
A locale that is not generated makes Anaconda fall back to English on
every screen. /etc/locale.gen keeps its short list, so the installed
system only gets the chosen language.