FutureLanguageSelectorImprovements

Differences between revisions 1 and 2
Revision 1 as of 2009-01-08 18:05:53
Size: 3243
Editor: www
Comment:
Revision 2 as of 2009-01-09 03:28:27
Size: 3986
Editor: www
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
from bug reports
||<style="border:0px;">- Language selector should allow selecting newly marked languages as the default immediately ([[https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/138224|bug #138224]])||
||<style="border:0px;text-decoration:line-through;">- Language selector does not suggest installing support for the default language ([[https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/289165|bug #289165]])||
||<style="border:0px;">- Language selector only suggests installing partial language support for the default language ([[https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/311228|bug #311228]])||
 
 * 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:
  * Installer could suggest enabling Internet connection and downloading language packs automatically, when a non-English language is selected [note: it has been noted by the ubiquity developer that post-install suggestion, now implemented, is preferable]
Line 21: Line 35:

 * Abdul and Ping-An share a computer and prefer to have different language settings for their desktops. GDM provides the possibility to choose the language per user profile, but since this is hidden in the Options menu, Abdul and Ping-An don't know about this functionality. Instead they found the system setting in language-selector. However, since this sets the system wide language, they are confused and would like to have the possibility to set their preferred language for their session only.
Line 28: Line 40:

== Assumptions ==
Line 33: Line 42:
You can have subsections that better describe specific parts of the issue.  * manipulate system locale variables (root)
 * manipulate user locale variables
 * give the user the choice over the fallback language for his locale.
Line 36: Line 48:

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:
Line 43: Line 53:
 * FIXME: add mockups from mpt
Line 45: Line 57:
Code changes should include an overview of what needs to change, and in some cases even the specific details.  * Store the LC_* settings into ~/.locales
 * Source ~/.locales into ~/.profile
 * If variables are already set in the environment, but ~/.profile does not include ~/.locales, just display the values, but do not allow changing them
  * look at gnome control center source code for their implementation http://svn.gnome.org/viewvc/gnome-control-center/trunk/capplets/localization
 * langpack split (also affects langpack-o-matic):
  * split Chinese into Simplified and Traditional Chinese
  * split Portuguese into Portuguese and Brazilian
Line 56: Line 74:
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.
TBD
  • Launchpad Entry: foo

  • Created:

  • Contributors:

  • Packages affected: language-selector

Summary

Add new functionality to language-selector. This is not bound to any specific release, but merely a collection of what needs to be done in future releases.

Release Note

TBD

Rationale

Users have requested additional features, like detailed locale settings and user based language settings instead of only providing the system wide settings.

from bug reports

- Language selector should allow selecting newly marked languages as the default immediately (bug #138224)

- Language selector does not suggest installing support for the default language (bug #289165)

- Language selector only suggests installing partial language support for the default language (bug #311228)

  • 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:

    • Installer could suggest enabling Internet connection and downloading language packs automatically, when a non-English language is selected [note: it has been noted by the ubiquity developer that post-install suggestion, now implemented, is preferable]

Use Cases

  • Bob lives in Finland, but prefers his desktop to be in English. Since the English locales don't use the metric system, he would like to have more fine grained control over his environment variables and set the relevant ones to use fi_FI instead.
  • A Brazilian user found that not all applications are fully translated into Brazilian Portuguese. Instead a fallback to general Portuguese is used. Since Brazilian Portuguese differs a lot from Portuguese spoken in Portugal, he would prefer US English as a fallback instead.

Design

  • manipulate system locale variables (root)
  • manipulate user locale variables
  • give the user the choice over the fallback language for his locale.

Implementation

UI Changes

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

  • FIXME: add mockups from mpt

Code Changes

  • Store the LC_* settings into ~/.locales
  • Source ~/.locales into ~/.profile
  • If variables are already set in the environment, but ~/.profile does not include ~/.locales, just display the values, but do not allow changing them
  • langpack split (also affects langpack-o-matic):
    • split Chinese into Simplified and Traditional Chinese
    • split Portuguese into Portuguese and Brazilian

Migration

Include:

  • data migration, if any
  • redirects from old URLs to new ones, if any
  • how users will be pointed to the new way of doing things, if necessary.

Test/Demo Plan

TBD

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

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.


CategorySpec

FutureLanguageSelectorImprovements (last edited 2009-01-21 04:38:53 by www)