From Fedora Project Wiki

Yum Langpack Plugin

Summary

A yum plugin that allows langpacks to be automatically installed for your native language when base packages with langpacks get installed.

Owner

Current status

  • Targeted release: Fedora 12
  • Last updated: 2009-07-07
  • Percentage of completion: 20%

Detailed Description

Currently when users install packages with langpacks they have to install the langpacks themselves by hand (if they even know about them).

Last year in a related thread on fedora-devel-list Bill Nottingham posted an initial proof of concept of this plugin. This feature will polish that further and make it ready for general use. (See also this rfe bug.)

This feature will also allow firefox and thunderbird to earn langpacks as they deserve.

Here is an outline of the design and current assumptions:

  1. add langpack-support-<lang> metapackage for each language, which users can install if they want langpack support for the language
  2. the langpack metapackages will all require yum-plugin-langpacks
  3. langpack-support-<lang> metapackages will be added to the comps lang support groups
  4. when user activates yum (eg through PackageKit) the plugin will check if langpacks are needed or available for the packages involved in the transaction
  5. maybe keep conditional lang entries for now in F12 and drop them later in F13 say

Optional/longer term ideas (likely deferred for later).

  1. allow for whitelisting/blacklisting of specific langpacks
  2. setting for which langs appear by default in gdm lang top menu (rfe bug)
  3. recommendation for Packaging Guideline for standard naming of langpacks (eg <basename>-langpack-<lang>)
  4. (longterm) extend to handling gettext translation .mo files

Benefit to Fedora

Users will get langpacks for their language installed automatically if they wish.

Scope

  1. Write yum plugin, test, wash, rinse, repeat
  2. Add yum-plugin-langpacks package to fedora or yum-utils upstream
  3. Add metapackages package to fedora
  4. Include in comps

Test Plan

Test various scenarios

  1. Do a Japanese Fedora install, and then later add kde and eclipse
  2. Do English Fedora install and groupinstall some lang support and add openoffice
  3. etc

User Experience

  1. Installation of langpacks will Just Work.

Dependencies

None

Contingency Plan

Not required - things would just stay as before.

Documentation

none yet

Release Notes

to be documented in the I18n docsbeat