From Fedora Project Wiki
(Created page with '= Plugin Yum Langpack = == Sommario == Un plugin di yum per installare automaticamente, se disponibili, i pacchetti tradotti nella propria lingua in fase di installazione dei p...')
 
No edit summary
Line 4: Line 4:
Un plugin di yum per installare automaticamente, se disponibili, i pacchetti tradotti nella propria lingua in fase di installazione dei pacchetti base.
Un plugin di yum per installare automaticamente, se disponibili, i pacchetti tradotti nella propria lingua in fase di installazione dei pacchetti base.


== Owner ==
== Progettista ==
* Name: [[User:Petersen]]
* Name: [[User:Petersen]]
* Email: petersen at redhat com  
* Email: [mailto:petersen@redhat.com petersen@redhat.com]


== Current status ==
== Stato attuale ==
* Targeted release: [[Releases/13|  Fedora 13]]  
* Rilascio: [[Releases/13|  Fedora 13]]
* Last updated: 2009-11-11
* Per informazioni aggiornate sullo stato del progetto consultare la [[Features/YumLangpackPlugin#Current_status | pagina originale]] di questo documento.
* Percentage of completion: 50%


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


Line 54: Line 53:
Rather than making changes to each of the tools using Yum (as outlined above) it might be easier just to enable the langpack plugin in yum by default to avoid having to change Yum code in multiple places?
Rather than making changes to each of the tools using Yum (as outlined above) it might be easier just to enable the langpack plugin in yum by default to avoid having to change Yum code in multiple places?


== Benefit to Fedora ==
== Vantaggi per Fedora ==
Users will get langpacks for their language installed automatically if they wish.
Gli utenti, volendo, potranno installare i pacchetti, tradotti nella loro lingua.


== Scope ==
== Altre informazioni ==  
# Write yum plugin, test, wash, rinse, repeat
Per:
# Add yum-plugin-langpacks package to fedora or yum-utils upstream
* Obbiettivi
# Add metapackages package to fedora: see [https://bugzilla.redhat.com/show_bug.cgi?id=langpack-support pkgreview]
* Test Plan
# Include in comps
* Esperienza Utente
* Dipendenze
* Progetto corrente
* Documentazione
* Note di rilascio
* Commenti e Discussioni


== Test Plan ==
consultare la [[Features/YumLangpackPlugin | pagina originale]] di questo documento.
Test various scenarios
# Do a Japanese Fedora install, and then later add kde and eclipse
# Do English Fedora install and groupinstall some lang support and add openoffice
# etc
 
== User Experience ==
# Installation of langpacks will Just Work.
 
== Dependencies ==
None
 
== Contingency Plan ==
Keep langpacks listed in comps as conditional packages in addition to the new metapackages, or just revert.
 
== Documentation ==
none yet
 
== Release Notes ==
* to be documented in the I18n docsbeat
* '''FIXME''': Please add text here or link to I18n docsbeat


[[Category:FeatureAcceptedF13]]
[[Category:FeatureAcceptedF13]]

Revision as of 18:50, 26 January 2010

Plugin Yum Langpack

Sommario

Un plugin di yum per installare automaticamente, se disponibili, i pacchetti tradotti nella propria lingua in fase di installazione dei pacchetti base.

Progettista

Stato attuale

Descrizione dettagliata

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

anaconda

Anaconda will need to require yum-plugin-langpacks and enable it by default (as outlined in the above mail).

Additionally the plugin must be able to take into account new langpack-support metapackages being added in an rpm transaction when determining langpacks (not just currently installed langpack-support metapackages).

gdm

Explain https://bugzilla.redhat.com/show_bug.cgi?id=505484 here.

pungi

For pungi, since all the langpack-support metapackages will be listed in comps if it also requires and enables yum-plugin-langpacks it should be able to pull in the corresponding langpacks needed to compose Fedora trees, etc.

livecd-tools

livecd-tools probably also needs to require yum-plugin-langpacks and enable it. Currently the official Live Spins don't actually include any @lang-support groups. Localized spins should list any required langpack-support-<lang> meta package or @<lang>-support group anyway in their kickstart file.

comps

Once the feature is available in Rawhide all the metapackages will be added to the respective language support groups in comps.

yum

Rather than making changes to each of the tools using Yum (as outlined above) it might be easier just to enable the langpack plugin in yum by default to avoid having to change Yum code in multiple places?

Vantaggi per Fedora

Gli utenti, volendo, potranno installare i pacchetti, tradotti nella loro lingua.

Altre informazioni

Per:

  • Obbiettivi
  • Test Plan
  • Esperienza Utente
  • Dipendenze
  • Progetto corrente
  • Documentazione
  • Note di rilascio
  • Commenti e Discussioni

consultare la pagina originale di questo documento.