From Fedora Project Wiki

(Wiki syntax fix)
No edit summary
Line 2: Line 2:
|description=This test case tests whether langpack can add different languages to language list when changing current locale.
|description=This test case tests whether langpack can add different languages to language list when changing current locale.
|actions=
|actions=
# On a Fedora 12 or later system, check if your system has {{package|yum-langpacks}} plugin installed by executing:  
# On a Fedora 15 or later system, check if your system has {{package|yum-langpacks}} plugin installed by executing:  
#:<pre>rpm -q yum-langpacks</pre>
#:<pre>rpm -q yum-langpacks</pre>
#* If the package is not installed, download from [http://kojipkgs.fedoraproject.org/packages/yum-langpacks/0.1.4/2.fc13/noarch/yum-langpacks-0.1.4-2.fc13.noarch.rpm koji] and install it: <pre>rpm -ivh yum-langpacks-0.1.4-2.fc13.noarch.rpm</pre>
#* If the package is not installed install it using yum: <pre>yum install yum-langpacks</pre>
# Install several packages such as {{package|kde-desktop}}, {{package|koffice}} or {{package|eclipse}} etc and check if current language package of installed application is searched and installed automatically. For example:
# Install several packages such as {{package|kde-desktop}}, {{package|koffice}} or {{package|eclipse}} etc and check if current language package of installed application is searched and installed automatically. For example:
#:<pre>yum install eclipse</pre>
#:<pre>yum install eclipse</pre>
#:<pre>yum install koffice-suite</pre>
#:<pre>yum install koffice-suite</pre>
#:<pre>yum groupinstall 'kde-desktop'</pre>  
#:<pre>yum install 'office'</pre>
#:<pre>yum groupinstall 'kde-desktop'</pre>
# Logout. In GDM, before entering password, change desktop language to another and login again.   
# Logout. In GDM, before entering password, change desktop language to another and login again.   
# Execute <code>su</code> to root user and exercise yum again by installing or updating several packages. Check if langpack plugged in yum is affected by the changing of current locale.  
# Execute <code>su</code> to root user and exercise yum again by installing or updating several packages. Check if langpack plugged in yum is affected by the changing of current locale.  

Revision as of 02:45, 9 February 2011

Description

This test case tests whether langpack can add different languages to language list when changing current locale.


How to test

  1. On a Fedora 15 or later system, check if your system has Package-x-generic-16.pngyum-langpacks plugin installed by executing:
    rpm -q yum-langpacks
    • If the package is not installed install it using yum:
      yum install yum-langpacks
  2. Install several packages such as Package-x-generic-16.pngkde-desktop, Package-x-generic-16.pngkoffice or Package-x-generic-16.pngeclipse etc and check if current language package of installed application is searched and installed automatically. For example:
    yum install eclipse
    yum install koffice-suite
    yum install 'office'
    yum groupinstall 'kde-desktop'
  3. Logout. In GDM, before entering password, change desktop language to another and login again.
  4. Execute su to root user and exercise yum again by installing or updating several packages. Check if langpack plugged in yum is affected by the changing of current locale.
Note.png
Changing language does not affect up-to-date applications
If you change your current language, yum will download relevant language packs only for newly installed or updated packages. If the application is already up-to-date, changing your language won't download new language packs - that's expected.

Expected Results

  1. When execute yum:
    • Langpack should be loaded, current locale should be added to language list.
    • After dependency resolution finished, Installing langpack and Adding relative language package to transaction is displayed.
  2. Current locale package for the newly installed application should be installed automatically.