Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ca46O-0001g1-0Y for mharc-grub-devel@gnu.org; Sat, 04 Feb 2017 12:26:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca46M-0001fA-IU for grub-devel@gnu.org; Sat, 04 Feb 2017 12:26:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca46H-0001kV-LW for grub-devel@gnu.org; Sat, 04 Feb 2017 12:26:18 -0500 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:35506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ca46H-0001jj-DI for grub-devel@gnu.org; Sat, 04 Feb 2017 12:26:13 -0500 Received: by mail-lf0-x22b.google.com with SMTP id n124so25210427lfd.2 for ; Sat, 04 Feb 2017 09:26:13 -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=F0HY8o+QHpY+w7j/Wb5/6HjZlVxkplCplLpwNhAEY2w=; b=blwbGyJlO6cI/KKNJ9QeuwbQdYSOyIY5lRTBusWjTZ1LMSYyhbs2Vmqa1yZVdQp3y3 3tdWdT68/DA7wAD18tt4jJvhjviYlb+HP+YTPF+PeVISbpi+JC5O3yQzeKvMCpTVO7F3 PR+2MvG7LUdSaiaXuuIIGEv5FBon7ThnGQYdIwN8DuaNdHakvBRA1UAaRt57aDXl2e0u +XD6Z73+YgQzbY/vCfrD5KKcgQ7t35WIEQhJJBP7srFXaOpfFFY3EH7fg9F20UIIH962 nzLmBTFGrli574kFBDpgqNZgMclZV5zZRb7fXOceuMtRAanBY7nrl5ijNniX3rPqiF+5 W2AQ== 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=F0HY8o+QHpY+w7j/Wb5/6HjZlVxkplCplLpwNhAEY2w=; b=OtQdjeRThVikhXs+GOi7hxXCpdaCEXlqpJpNjsqjWC+G6Xt7NG8G5jLt77VYHO/eOR ZIZtScMnMo0ljS7CtH0j4gr/6lDdCYH69nC41tVfPKt8X1tMVKL2jSNxLYMHwiGQIv4j dvyvoohIhhqMVarz3YJHJMEmg+zFLsrkpxADhL/rax4C0yVunqLHPuYbTYuM3NXP5oRv fzE4jMFrOITKjKaAjBMy94aGyFR3XWeBQctCJswHgMwt3czZ0iVp9wvxgQZbX6gD9cY6 UdiFiLhRfFiLTS7XishmEAvjTDy3b92UvUPl38pQf9oCJG8UFW3JJhIhCuMZFC3oRtg6 H3Yw== X-Gm-Message-State: AIkVDXJ7/15WL2enIKDK8CVxACxxLMSvLWiC65s79zZiQRvoG7jO0pqsWQkcr6Ib60lM7Q== X-Received: by 10.46.80.21 with SMTP id e21mr1081999ljb.29.1486229171408; Sat, 04 Feb 2017 09:26:11 -0800 (PST) Received: from [192.168.1.5] (ppp109-252-90-129.pppoe.spdop.ru. [109.252.90.129]) by smtp.gmail.com with ESMTPSA id f25sm8962537lji.26.2017.02.04.09.26.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2017 09:26:10 -0800 (PST) Subject: Re: Booting a system in a specific language To: The development of GNU GRUB References: <9d85e7be-6172-a3af-7646-bd3dd83256bd@gmail.com> From: Andrei Borzenkov Message-ID: <86618457-ded6-9139-8d24-f54e18b983a2@gmail.com> Date: Sat, 4 Feb 2017 20:26:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <9d85e7be-6172-a3af-7646-bd3dd83256bd@gmail.com> Content-Type: text/plain; charset=UTF-8 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::22b 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 17:26:19 -0000 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.