Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #61215
| From | Jonas Meurer <jonas@freesources.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#901702: Add locale and gettext support to initramfs |
| Date | 2018-06-17 03:00 +0200 |
| Message-ID | <w1ucW-2Vy-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Package: initramfs-tools Version: 0.130 Severity: normal Tags: l10n patch Hello, when trying to add l10n support to the cryptsetup initramfs script I was surprised to realize that apparently no initramfs component has l10n support yet. Probably that's because most messages from initramfs are more targeted at developers. Unfortunately, that's not true for the initramfs scripts of cryptsetup. Here, we need to ask users for input (passphrase) and therefore the messages we print are targeted at normal users. There's also an open bugreport that requests support for translated strings[1]. I first thought about adding all the required locale and gettext stuff to initramfs in the cryptroot hook, but after thinking about it again, I think it should be done in initramfs itself instead. Other initramfs components might want to use it as well. That's why I'd like to add locale and gettext support to initramfs but make it optional. Without any prompts targeted at endusers, there's no real need to bloat the initramfs with locales and gettext files. But e.g. in the cryptsetup package, we would enable it. I've prepared a patch that optionally adds locale and gettext support to initramfs (depending on a initramfs.conf variable). You can find the patch attached to this bugreport or as a merge request on Salsa[2]. Whatever you prefer ;) Would be awesome if you could consider to merge it. It's a prerequisite for adding l10n support to the cryptsetup initramfs scripts. Cheers, jonas [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688735 [2] https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/4
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#901702: Add locale and gettext support to initramfs Jonas Meurer <jonas@freesources.org> - 2018-06-17 03:00 +0200 Bug#901702: Add locale and gettext support to initramfs Josh Triplett <josh@joshtriplett.org> - 2018-07-22 22:20 +0200
csiph-web