calamares/src
Philip 4c33e9a16a Keyboard: guess at layout based on locale
Split locale into <language>_<country> and go looking for keyboard
layouts that match. Do that in reverse, so look for country first.

- known weakness is el_CY [should get layout gr] because CY and el
  don't name any keyboard layout.
- known weakness are Hausa, Igbo .. which are ha_NG and ig_NG. They select
  keyboard layout ng, which is labeled 'English [Nigeria]'; they ought
  to select ng[hausa] and ng[igbo], which are the right variant keyboard
  layouts to use.
- similar selecting a locale in Canada [en_CA, fr_CA, iu_CA ...] will
  select keyboard layout ca, which is for French-speaking Canada.
  Locale en_CA should select keyboard en -- e.g. en[us]. But iu_CA
  [Inuktituk] needs layout ca[ike].
2017-06-17 15:36:09 +02:00
..
branding Merge branch 'master' of https://github.com/calamares/calamares into development 2017-06-14 13:25:48 +02:00
calamares Cleanup: add copyright lines 2017-06-12 09:59:04 -04:00
crashreporter Fix breakpad server url. 2016-03-23 18:48:08 +01:00
libcalamares Logging: add a global storage dump method 2017-06-06 09:22:21 -04:00
libcalamaresui Allow different welcome message. 2017-06-12 15:25:54 -04:00
modules Keyboard: guess at layout based on locale 2017-06-17 15:36:09 +02:00
qml Copyright header. 2015-01-24 10:46:51 +01:00
CMakeLists.txt Build it. 2016-03-23 18:48:08 +01:00