LanguagePackVsSupport

Differences between revisions 5 and 6
Revision 5 as of 2005-11-05 20:25:18
Size: 4140
Editor: 209
Comment: refinements
Revision 6 as of 2005-11-05 20:26:40
Size: 4158
Editor: 209
Comment: typo fix
Deletions are marked like this. Additions are marked like this.
Line 52: Line 52:
 * `mozilla-firefox-locale-`''lang''`-*`  * `mozilla-firefox-locale-`''lang''`*`
Line 57: Line 57:
Sometimes package names have a country specific prefix. All of them should be installed to support a particular language properly. Sometimes package names have a country specific suffix (denoted by a `*`). All of them should be installed to support a particular language properly.

Summary

As of Ubuntu 5.10, language-specific add-ons fall into two categories. language-pack-*, which provides gettext translation data, and language-support-*, which provides "everything else" (including non-gettext translation data). We want to make this distinction more meaningful: have language-pack-* provide all translations, and limit language-support-* to input aids (spell checking, thesauruses, input methods, etc.).

Rationale

In a e. g. a German installation without network, the user will get a German desktop by default, but won't have a German translation for Firefox and OpenOffice.org. This is confusing and inconvenient for new users, since it is not immediately clear that the fix for this is to install the "input aids" in the language selector.

Use cases

  • Michael got an Ubuntu CD recently and wants to install a German desktop. He only has a modem, so he does not want to download additional language support (ask asked by the installed).
  • Sebastien wants to learn Catalan and therefore selects "Catalan translations" in the language selector. However, he will still see OpenOffice and Firefox in English.

Design

Intended meaning of the packages:

  • language pack = translations
  • lanugage support = support packages (spell checkers, etc.)
  • This is reflected in the current language pack selector (translations and input aids)

To implement this, we would need to make the Firefox, Thunderbird, and OpenOffice l10n and help files dependencies of language-pack-*.. However, the combination of OO.o l10n+ffox l10n is in the magnitude of 5 MB; OO.o help is in the magnitude of 10 MB. There is no way we could put help files onto the primary CD for more than one or two languages apart from English.

We have pretty good coverage of language-pack-* right now on the install CDs. However, there are no language packs on the live CDs for amd64 and i386 currently, because of space constraints. This will only get worse if language packs grow.

The following options will mitigate this:

  • Add a separate l10n CD and put all the translation-related packages on it (see LanguagePacksCD). This is not appealing since it does not fit into our "one CD for everything" paradigma, and it contradicts our plan to reduce the number of CDs. However, we will generate the CD and offer it for download only, which enables users with low/no bandwidth to get the packages in some way (freedom toaster, burn CD by a friend, etc.) See the LanguagePacksCD spec for this.
  • The installer question that offers to download "additional language support" should point out that this also includes certain translations, and that the user always can install the additional packages later with the Language Selector.
  • Improve the language selector to handle the non-gettext translation packages in a better way (see below).

Language selector changes:

  • When installing translations for a new language, install the Firefox, Thunderbird, and OpenOffice packages along with the gettext language pack(s).

  • On first start, offer to install missing Firefox/Thunderbird/OpenOffice packages for the default language.

Implementation

Code

The installer merely requires a string change.

Language selector already supports checking for missing packages at startup, so this mechanism can be used for checking for missing packages.

The additional packages that are dependencies of language-support-*, but ship translations are:

  • mozilla-firefox-locale-lang*

  • mozilla-thunderbird-locale-lang

  • openoffice.org2-l10n-lang*

  • openoffice.org2-help-lang*

Sometimes package names have a country specific suffix (denoted by a *). All of them should be installed to support a particular language properly.

LanguagePackVsSupport (last edited 2008-08-06 16:19:59 by localhost)