LanguageSelectorImprovements

Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2005-12-09 17:14:17
Size: 1339
Editor: ip181
Comment: initial creation based on the sip call with jdub
Revision 10 as of 2006-02-22 12:27:17
Size: 2957
Editor: p54A652EB
Comment: more flesh
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from PimpMyLanguageSelector
Line 3: Line 4:
 * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/pimp-my-language-selector  * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/language-selector-improvements
Line 10: Line 11:
Language selector should offer a way to set the system-wide keyboard as well. Language selector should offer more suppot than installing langauge-packs and setting /etc/environment. It should take care of setting a a system-wide keyboard and the required input methods, fonts and dictionaries as well.
Line 14: Line 15:
Once the system is installed it's not easy to setup a system wide default keyboard (e.g. for gdm). Once the system is installed it's not easy to add a new language, there is too much hand-holding needed and configurations that need to be changed by hand.
Line 18: Line 19:
Bob switched to dvorak and wants to have this layout system-wide. Bob switched to dvorak and wants to have this layout system-wide. The computer is used by a new user how speaks arabic and wants fonts, input methods, dictionaries etc setup.
Line 22: Line 23:
Langauage selector needs to be modified.  Langauage selector needs to be modified.
Line 26: Line 27:
Key ideas: There are various different goals here:
 1. Keyboard selection
 1. Input methods
 1. Font selection
 1. Dictionaries
Line 28: Line 33:
 * The default layout should be automatically suggested from the selected language. === Keyboard selection ===
Line 30: Line 35:
 * The default keyboard layout should be automatically suggested from the selected language.
Line 31: Line 37:
Line 33: Line 38:
Line 35: Line 39:
Line 41: Line 44:
=== Input methods ===

The language-support-* packages depend on input methods and dictionaries.


=== Font selection ===

We could have better fonts for some languages (e.g. arabic). We need to evaluate what fonts are available and under what license we can use them.

=== Dictionaries ===

The language-support-* packages depend on the dictionaries.
Line 42: Line 58:

There are three things to do here:
 1. change gdm so that it reads a gconf (root) variable to setup it's keyboard

 1. have a sensible way to configure the keyboard in language-selector

 1. make sure that the user gets the updated keyboard if he hasn't configured his own

=== gdm ===

The gdm keyboard setting can be applied using:
{{{
setxkbmap - layout ... -model ... -option .. -print | xkbcomp - :0.0
}}}

=== Finding available keyboard ===

The gnome-control-center keyboard capplet has code to figure the list of available keyboards and already maps keyboard layout and languages.

=== users keyboard ===

It should just work, if no settings are done by the user, the layout shouldn't changed.
Line 50: Line 88:
----
CategorySpec

Summary

Language selector should offer more suppot than installing langauge-packs and setting /etc/environment. It should take care of setting a a system-wide keyboard and the required input methods, fonts and dictionaries as well.

Rationale

Once the system is installed it's not easy to add a new language, there is too much hand-holding needed and configurations that need to be changed by hand.

Use cases

Bob switched to dvorak and wants to have this layout system-wide. The computer is used by a new user how speaks arabic and wants fonts, input methods, dictionaries etc setup.

Scope

Langauage selector needs to be modified.

Design

There are various different goals here:

  1. Keyboard selection
  2. Input methods
  3. Font selection
  4. Dictionaries

Keyboard selection

  • The default keyboard layout should be automatically suggested from the selected language.
  • relationship between language and layout
  • simple list of those relationships to choose default
  • list includes only what is installed, rather than the entire set of languages (and you click 'add...' to install more)
  • unsure if there's a standard place to store the selection of relationships

Example how others do it: ["http://www.muhammadanism.org/Unicode/text_services_input_languages_xp.gif"]

Input methods

The language-support-* packages depend on input methods and dictionaries.

Font selection

We could have better fonts for some languages (e.g. arabic). We need to evaluate what fonts are available and under what license we can use them.

Dictionaries

The language-support-* packages depend on the dictionaries.

Implementation

There are three things to do here:

  1. change gdm so that it reads a gconf (root) variable to setup it's keyboard
  2. have a sensible way to configure the keyboard in language-selector
  3. make sure that the user gets the updated keyboard if he hasn't configured his own

gdm

The gdm keyboard setting can be applied using:

setxkbmap - layout ... -model ... -option .. -print | xkbcomp - :0.0

Finding available keyboard

The gnome-control-center keyboard capplet has code to figure the list of available keyboards and already maps keyboard layout and languages.

users keyboard

It should just work, if no settings are done by the user, the layout shouldn't changed.

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion


CategorySpec

LanguageSelectorImprovements (last edited 2008-08-06 16:26:47 by localhost)