LanguagePacksCD

Differences between revisions 10 and 11
Revision 10 as of 2006-01-01 05:17:46
Size: 2900
Editor: S0106000000cc07fc
Comment: cat spec
Revision 11 as of 2006-06-05 04:45:16
Size: 2912
Editor: fsproxy1
Comment: Fix bogus Launchpad URL
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/foo  * '''Launchpad Entry''': https://launchpad.net/distros/ubuntu/+spec/langpacks-on-cd
Line 19: Line 19:
 * Alice gets a CD from Bob with additional language packs. She is korean and her language is not in the official CD  * Alice gets a CD from Bob with additional language packs. She is Korean and her language is not in the official CD

Summary

There should be an additional (optional) language package CD that contains all the language packages that can't be shipped on the normal CD because of space constraints. It should be possible to update it even after the release.

Rationale

Not all users have broadband at home, they may want to burn the CD e.g. at university.

Use cases

  • Alice gets a CD from Bob with additional language packs. She is Korean and her language is not in the official CD
  • OpenOffice has very large language packages, so they can't be all shipped in the release CD. John gets a language package CD and expects that the missing language packages in his system will get installed.

Scope

This spec covers both ubuntu/kubuntu.

Design

The langauge package CD should be a normal apt-cdrom-enabled CD that contains a Packages file and a Release file. The .disk/ directory should contain some information indicating that the CD is a language CD for easy identification.

Language-selector should contain an additonal button called "add language cdrom" that will apt-cdrom add the CD, re-read the cache, and update itself. That should also be available as a command line option.

It must also look for updates to the currently installed language packages and offer the user the choice of updating them.

The mechanism in update-notifier that detects the inseration of an Ubuntu CD should be extended to detect language package CDs as well and offer the user to start the language selector with the updated language information.

Language selector should display the available languages in both the current locale and the language name in its native form (like "German - Detsch", like the instaler is doing right now).

Once the language is selected by the user, the language packages for the softwares already installed should be installed without additional confirmations, as far as the operation doesn't do any unexpected changes.

Implementation

Both update-notifier and language-selector needs to be modified to deal with the language package CDs as described. Language selector adds the add-language pack cd with python-apts Cdrom.Add() code. Update-notifier already detects cd insert, it's just a matter of adding code to detect that it's a language pack cd.

Code

No code was written yet.

Data preservation and migration

When a CD is inserted with updated language packages it should offer the user to offer the upgradable packages.


CategorySpec

LanguagePacksCD (last edited 2008-08-06 16:29:02 by localhost)