JauntyLanguageSelectorImprovements

Revision 7 as of 2007-11-19 14:06:55

Clear message

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

The language-selector should be improved to support CJK languages and common use-cases better.

Release Note

TBD

Rationale

TBD

Use Cases

Assumptions

Design

A non-root mode needs to be added so that people can modify personal settings.

Granularity

The current level of granuarity to select what bits of the "language" people want is too limited. It is currently a all or nothing selection. In addition to the single checkbutton we provide a additional details pane that is hiden by default with the following checkbuttons:

  • Input methods/Dictionaries
  • Translations
  • Additional Fonts

For the language-support-$language package we represent input methods, dictionaries as full depends, langpacks as recommends and additional fonts as suggests.

Fonts

  • make it possible to configure fonts on a per user basis,
    • fontconfig-voodoo needs to be changed for this to write its configuration to the users dir (~/.fonts.conf). there should be something in the GUI that says: "Optimize my fonts for this language" .

In addition to such a simple option a advanced button should be specified that provides finer fontconfig control. This should be part of a different spec, the basic ideas are:

  • add a button "details" to the gnome fonts capplet that will call
    • language-selector-font-config-gui
  • add a GUI so that the font preferences ordering can be modified and
    • fonts can be added. A dialog with a list of the defaults aliases (serif, sans, sans serif) is displayed with button to "add", "delete", "edit". Edit fires up a dialog that lists the fonts and their ordering for the current alias. The ordering can then be modified with up/down buttons and add/edit/remove buttons. The add window opens a list of all the fonts and it can be added, a "details" button that fires up the edit dialog. The edit dialog has checkboxes for "enable bitmaps", "enable binary hints", "enable anti-antialiasing"

* if any font specfic features (like hinting/bitmaps) need to be

  • checked, the python package fontstools will be used

Input Methods

  • ?

Implementation

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:

UI Changes

Should cover changes required to the UI, or specific UI that is required to implement this

Code Changes

Code changes should include an overview of what needs to change, and in some cases even the specific details.

Test/Demo Plan

TBD

BoF agenda and discussion

Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.

Language-support-XX regorganization:

  • Depends: extra translations, input support, writing aids (dictionaries, thesauri, etc.)
  • Recommends: help/doc
  • Suggests: extra fonts

Add possibility to split language specific support package into special subclasses (like Chinese traditional/simplified, or German and Austrian German).

From Gobby:

Issues

  • configure scim
  • configure fonts on a per-user basis
    • font preferences (move the installed fonts up/down in the list)
    • set anti-aliasing / hinting / bitmaps (all exclusive) on a per font basis (or global)
    • create a ~/.fonts.conf file and put it into the user's home directory
  • programatic interface to install missing langpacks/support stuff to make installer/oem install happy - they set something like "install this at the next opportunity"
    • dpkg --set-selections, have either apt or update-manager honour this
  • split Chinese into Simplified and Traditional Chinese.

from bug reports

Ideas

  • have a new set of langpack packages:
    • - "translations" - "support input methods/fonts" (depends) - "supported dictionaty/spell-checker" (recommends)
  • instead of one check box have a combobox to select the level
  • when update-notifier becomes available it could notice that the missing language
    • packages can now be installed now and prompt for it (basicly dpkg --set-selections, apt-get dselect-upgrade)
  • update-manager/python-apt should check the dselect database
  • make sure it works in kde
  • From https://wiki.ubuntu.com/BetterDesktopCDLanguageSupport:

    • selection of language upon bootup from desktop CD not obvious, always English unless user presses F2 in the boot menu - maybe a language selector dialog before GNOME session?
    • should suggest enabling Internet connection and downloading language packs automatically, when a non-English language is selected


CategorySpec