all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Come back and graphical installer
Date: Mon, 19 Nov 2018 12:31:09 +0100	[thread overview]
Message-ID: <68e8024c-5672-6a1b-9178-db2dec76d014@freenet.de> (raw)
In-Reply-To: <87h8gdq0li.fsf@gmail.com>

On 19/11/2018 03.10, Mathieu Othacehe wrote:

> The newt API offers one "help-line" at the bottom of the screen for a
> help text. It might be the place to indicate that <Enter> selects.

Some graphical interface dialogs put emphasis on the button that is 
currently bound to Enter, but this convention isn't followed everywhere 
and there are probably many users being unaware. Since long ago I have 
been thinking that actually drawing a enter-key-icon in the button might 
be an improvement. Since we don't have such options here, "Press Enter 
to select and continue" should do.


> You're right, the "initial jump" feature has to be advertised. About the
> "completion-list" it would be great but it requires a patch to newt
> library that is not trivial.

As expected. I always look for ways to improve the user experience, but 
since this would only help some users once in a while, it may not be 
worth your time.


>> Is it possible to detect the BIOS language settings? Any other way to
>> make an informed guess?
> 
> I'm not aware of such a possibility I agree it would be nice.

All a quick search brought up is dmidecode:

$: sudo dmidecode --type 13
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.5 present.

Handle 0x0030, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Abbreviated
	Installable Languages: 1
		en|US|iso8859-1
	Currently Installed Language: en|US|iso8859-1


dmidecode reads the information provided by the Linux kernel, which 
contains a SMBIOS decoder. I guess most systems are never configured 
away from a default en|US, anyway ...


>> Language names should be localized, e.g. "Deutsch" instead of
>> "German". There may be issues regarding character set and list
>> navigation, though.
> 
> I took the language name from the ISO639 standard where it is not
> localized. However, I see that Wikipedia has an ISO language <-> Native
> name (endonym) correspondance. Maybe we could copy this table somewhere
> and display language endonyms (or both like the Debian installer)?

Looks like the Fedora installer does that, too:
https://www.linuxtechi.com/wp-content/uploads/2014/12/select-installation-fedora-21.jpg

Either installer source might include a hint where the data comes from?


>> "Location selection":
>>
>> A shortlist based on language selection is not acceptable. You just
>> made me relocate to the United Kingdom as nearest choice ;)
> 
> Aha sadly, the glibc only has a small subset of supported locales. If
> you speak Dutch, only those locales are supported:
> 
> nl_AW UTF-8
> nl_BE.UTF-8 UTF-8
> nl_BE ISO-8859-1
> nl_BE@euro ISO-8859-15
> nl_NL.UTF-8 UTF-8
> nl_NL ISO-8859-1
> nl_NL@euro ISO-8859-15
> 
> Which means you can not select a "territory" different from Aruba,
> Belgium or Nederlands. I'm not sure how to overcome this, maybe an
> explicative text, what do you think?

There was a misunderstanding here, of which I think it may happen to 
others, too. I took this in the sense of "where am I", not "which 
locale", though with a bit more thinking, I should have made the 
connection! Presented with anything of the pattern as exemplified in 
"nl_NL.UTF-8 UTF-8", or the keyword "locale", I would have known.

For less informed users, we may want to explain the implications in 
short, but still correct, fashion. Something like "Please Select a 
locale. This is a regional variant of your language, encompassing 
number, date and currency format, among other details.". (I'm not too 
happy about "regional variant".)

https://en.wikipedia.org/wiki/Locale_(computer_software)

BTW, if the installer doesn't have translations for all languages that 
Guix can be installed with, language selection will have to be split up, 
installer and system.


>> "Timezone selection":

>> It may be better to use one list of timezones, each with the UTC
>> offset, followed by a list of major cities.
> 
> Even though it is harder to implement, it would be better I agree. The
> tricky part is to gather a list of cities representing the timezone.

Best I found is
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Though I wouldn't know how to "fold" that list.

Here's how it's done for tzdata, with pretty good language:
https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-ubuntu-14-04-servers#configure-timezones-and-network-time-protocol-synchronization


> Thanks again for your suggestions, it is really appreciated!

I'm happy to help!


-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

  reply	other threads:[~2018-11-19 11:34 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20 15:07 Come back and graphical installer Mathieu Othacehe
2018-10-20 15:25 ` Pierre Neidhardt
2018-10-20 15:48   ` Mathieu Othacehe
2018-10-22 12:37     ` Ludovic Courtès
2018-10-22 13:58     ` Danny Milosavljevic
2018-10-20 20:57 ` Chris Marusich
2018-10-21  9:50   ` Pierre Neidhardt
2018-10-22 12:48 ` Ludovic Courtès
2018-10-23  3:39   ` Mathieu Othacehe
2018-10-23  8:17     ` Björn Höfling
2018-10-22 15:07 ` Danny Milosavljevic
2018-10-23  2:47   ` bill-auger
2018-10-23  2:55     ` bill-auger
2018-10-23  3:48   ` Mathieu Othacehe
2018-10-24 13:23   ` Ludovic Courtès
2018-11-16 13:20 ` Mathieu Othacehe
2018-11-16 21:29   ` Ludovic Courtès
2018-11-17  3:51     ` Mathieu Othacehe
2018-11-17 13:30       ` L p R n d n
2018-11-17 13:05         ` Mathieu Othacehe
2018-11-17 14:21           ` L p R n d n
2018-11-17 13:36             ` Mathieu Othacehe
2018-11-17 15:05               ` L p R n d n
2018-11-17 14:36                 ` Mathieu Othacehe
2018-11-17 18:05                   ` L p R n d n
2018-11-18  3:21                     ` Mathieu Othacehe
2018-11-18 12:45                       ` swedebugia
2018-11-23 11:08                       ` L p R n d n
2018-11-23 11:11                         ` L p R n d n
2018-11-18 23:03                   ` Ludovic Courtès
2018-11-19  2:26                     ` Mathieu Othacehe
2018-11-19 20:38                       ` Ludovic Courtès
2018-11-20  1:25                         ` Mathieu Othacehe
2018-11-22  9:13                           ` Merging ‘wip-newt-installer’ in master? Ludovic Courtès
2018-11-22 14:57                             ` Mathieu Othacehe
2018-11-23 13:49                               ` Ludovic Courtès
2018-11-23 14:48                                 ` Mathieu Othacehe
2018-11-23 15:31                                   ` Ludovic Courtès
2018-11-24  3:57                                     ` Mathieu Othacehe
2018-11-28  9:07                                       ` Mathieu Othacehe
2018-11-28 13:14                                         ` Ludovic Courtès
2018-11-29  1:23                                           ` Mathieu Othacehe
2018-11-29  5:44                                             ` Brett Gilio
2018-11-29 10:36                                             ` Ludovic Courtès
2018-12-05 13:23                                               ` Mathieu Othacehe
2018-12-05 23:50                                                 ` swedebugia
2019-01-05 22:50                                                 ` Ludovic Courtès
2019-01-12 19:25                                                   ` Mathieu Othacehe
2019-01-13 17:09                                                     ` Mathieu Othacehe
2019-01-13 21:13                                                       ` Ludovic Courtès
2019-01-16 17:12                                                     ` Ludovic Courtès
2019-01-16 17:55                                                       ` Mathieu Othacehe
2019-01-16 22:28                                                         ` Ludovic Courtès
2019-01-16 18:25                                                     ` Ludovic Courtès
2019-01-16 19:14                                                       ` John Soo
2019-01-16 19:43                                                       ` Mathieu Othacehe
2019-01-17  0:04                                                         ` Ludovic Courtès
2019-01-17  7:44                                                           ` Ricardo Wurmus
2019-01-17  8:48                                                           ` Mathieu Othacehe
2019-01-17 13:13                                                             ` Ludovic Courtès
2019-01-19 18:26                                                               ` Pierre Neidhardt
2019-01-21  8:33                                                                 ` Mathieu Othacehe
2019-01-21  8:39                                                                   ` Pierre Neidhardt
2019-01-21  9:03                                                                     ` Mathieu Othacehe
2019-01-21  9:06                                                                       ` Pierre Neidhardt
2019-02-06 13:56                                                                         ` Pierre Neidhardt
2019-02-08 22:00                                                                           ` Ludovic Courtès
2019-01-16 20:07                                                       ` Jan Nieuwenhuizen
2018-11-18 19:43   ` Come back and graphical installer Thorsten Wilms
2018-11-18 20:14     ` swedebugia
2018-11-19  2:13       ` Mathieu Othacehe
2018-11-19  2:10     ` Mathieu Othacehe
2018-11-19 11:31       ` Thorsten Wilms [this message]
2018-11-21 14:55       ` swedebugia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68e8024c-5672-6a1b-9178-db2dec76d014@freenet.de \
    --to=t_w_@freenet.de \
    --cc=guix-devel@gnu.org \
    --cc=m.othacehe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.