From 8f35f449396493de4327d015bfe87f700c154d44 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 1 Sep 2020 09:01:14 +0200 Subject: Added locale helpers in terms of keyboard language/layout. archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template. --- archinstall/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archinstall/__init__.py') diff --git a/archinstall/__init__.py b/archinstall/__init__.py index 69e98ec7..b646c1f7 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -6,4 +6,5 @@ from .lib.installer import * from .lib.profiles import * from .lib.luks import * from .lib.mirrors import * -from .lib.networking import * \ No newline at end of file +from .lib.networking import * +from .lib.locale_helpers import * \ No newline at end of file -- cgit v1.2.3-70-g09d2