Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ca4hb-0007w3-92 for mharc-grub-devel@gnu.org; Sat, 04 Feb 2017 13:04:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca4hZ-0007vx-Kg for grub-devel@gnu.org; Sat, 04 Feb 2017 13:04:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca4hW-0000aF-GD for grub-devel@gnu.org; Sat, 04 Feb 2017 13:04:45 -0500 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:33805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ca4hW-0000YE-98 for grub-devel@gnu.org; Sat, 04 Feb 2017 13:04:42 -0500 Received: by mail-lf0-x241.google.com with SMTP id q89so660791lfi.1 for ; Sat, 04 Feb 2017 10:04:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=QCryc/3O/yn3YpDsnQcqq6HRImixCiQojIMTK5eYGpw=; b=DE89OfXGuDewlQD9QL/bf1m4hY8YOhqaAJQ0wLggxLepn7W/g8fAM5ml1yS4H7y3i7 5eIvgbynul9zAUFgQyIbF90vs+l8SBhL5a1LmdBbmihOTQtkAkpADN2s6vkjRfLmJrlr 4VIrdy2YWkLHEfZsxsHB1uOiuj+9onDkUQK0QZvwyEh/wGWVc7EysgDr9r/KK5NeErTu K7ybM9x0vd+r+oGCTjsYOSnSrQh/rqu0L6C75VDBqMnFskgQJtTNXQS+NbmkjTcESgcV 7/z1+7HQ1yiIMtYFWHEYu4fcHvRTaX/MxrNcJpaukEPgkSfwL6Qlj7TN/+IPd4CcgLDg /43Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QCryc/3O/yn3YpDsnQcqq6HRImixCiQojIMTK5eYGpw=; b=gOSsJ/jNHrQQ57gcR4Dc+TLTOvDXdarpcfT0H7oY3pZaNdzET/Tx6r8blB4MyEIECR H0Nrz1oAwLfCEjMq9FvmTmzl4rYvCoYAsxaYA3VeXKlScvs0Zb1k93gHJEhai7mGD+bB RiIJj+5Ye2pt/ZpqhVH748WOqPc1lZozaz0mR/HeqR/WepLBLugahCOUHU8/UkCqFfF1 pLPsMMsdaJIUCmG5D/7KlBXmRGf8AIQLYXvnxuqRGW8XuwLOOVmuHQMzGvLPVrxY2gf7 2hRyZL2OspJpiDGtE+6gfjjro/vkelc7TorkSFmKS3qruZw9hUSKd0z+fMv/jKsq7Mch zT9g== X-Gm-Message-State: AIkVDXIwZRkQSPg7TmDPRka/nKdvKOXcG1VI1LLojhzHwxBhaz5phn5D5ZRhp8EFwYx+Vw== X-Received: by 10.25.212.141 with SMTP id l135mr857437lfg.48.1486231477885; Sat, 04 Feb 2017 10:04:37 -0800 (PST) Received: from [10.0.0.3] (0x4dd584bb.adsl.cybercity.dk. [77.213.132.187]) by smtp.gmail.com with ESMTPSA id 70sm8816141lfw.11.2017.02.04.10.04.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2017 10:04:37 -0800 (PST) Subject: Re: Booting a system in a specific language To: grub-devel@gnu.org References: <9d85e7be-6172-a3af-7646-bd3dd83256bd@gmail.com> <86618457-ded6-9139-8d24-f54e18b983a2@gmail.com> <5fb018ea-1c93-e7b9-1600-4998d881623a@gmail.com> From: scootergrisen Message-ID: <2f1f2302-1a1b-584c-63c5-0bce69922a03@gmail.com> Date: Sat, 4 Feb 2017 19:04:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::241 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 18:04:46 -0000 Den 04-02-2017 kl. 18:52 skrev Andrei Borzenkov: > 04.02.2017 20:47, scootergrisen пишет: >> Den 04-02-2017 kl. 18:26 skrev Andrei Borzenkov: >>> 04.02.2017 20:04, scootergrisen пишет: >>>> I test out different Linux distributions and some distributions offer to >>>> select language during boot and some does not. >>>> >>>> It helps when i can select language and keyboard layout etc. during boot >>>> so i dont have to change the language etc. from inside GNOME or what >>>> ever. >>>> >>>> But does GRUB have anything to do about booting a system in a specific >>>> language or does each distribution modify GRUB to be able to change >>>> language. >>>> >>>> Some distributions seem to be able to change the language of the GRUB >>>> boot menu and some does not. >>>> >>> >>> Internally GRUB supports l10n (reimplementation of gettext). Some >>> distributions install language catalogs; how they select them is >>> distribution-dependent. But grub-mkconfig and scripts that are shipped >>> with GRUB itself do not make use of this and emit strings in fixed >>> language, as set at the time grub-mkconfig runs so you cannot change >>> menu language without regenerating it. That would be something to >>> consider after 2.02 release. >>> >>> As for keyboard layout, unfortunately only at_keyboard supports run-time >>> switch and it apparently has problems on real hardware. Default BIOS >>> input driver has fixed layout. There was proposed patch to implement >>> layouts on top of extended keyboard BIOS interface. >> >> For example if i try Ubuntu live image. >> I'm not sure if it uses GRUB but i think so. >> When the image starts and i press a button i can select language. >> >> And i get something that looks a bit like >> https://help.ubuntu.com/community/Grub2?action=AttachFile&do=get&target=grub2.theme.bennett.png >> where you have F2 and F3 at the bottom to select language and keyboard >> layout. >> >> If i select my language the menus changes to my language and also the >> keyboard layout changes. This i really nice i think but it seems most >> distribution dont offer this on boot... so i have to use GRUB in english >> and change language when i get into GNOME or what ever. >> >> Where does this "F1 Help F2 Language F3 Keymap..." come from? >> > > Most likely syslinux It looks like this almost: https://upload.wikimedia.org/wikipedia/commons/c/c5/Ubuntu_options_boot_screen.png On https://help.ubuntu.com/community/Grub2 it says GRUB 2 is default bootloader and under https://help.ubuntu.com/community/Grub2#Themes there is an image with the menu with "F1 Help F2 Language". > >> In Debian for example i have to manually type what language to start in >> and keymap to use and this is not so nice because first i have to >> remember what to type (cant use webbrowser to search for it) and >> different distributions seems to use different codes and also the menu >> during boot is in english and the keyboard layout is incorrect so it >> makes it harder to type in the codes like "=" and "_" and "-" because >> they are not on the correct places during boot. >> >> Basically i'm trying to help get Linux distributions better in my >> langauge so we can have danish translation from the beginning like the >> Ubuntu live image i tested. >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >