From Fedora Project Wiki

No edit summary
mNo edit summary
Line 11: Line 11:
# 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 Calligra</pre>
#:<pre>yum install calligra</pre>
#:<pre>yum install 'libreoffice'</pre>  
#:<pre>yum install 'libreoffice'</pre>  
#:<pre>yum groupinstall 'kde-desktop'</pre>
#:<pre>yum groupinstall 'kde-desktop'</pre>

Revision as of 03:05, 18 September 2012

Description

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

Setup

Follow up to the steps in QA:Testcase change language to switch the language if it's not what you expected to test.

How to test

  1. 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. Prior to run yum command, check if current locale is same to what you want to install for langpack.
    locale
  3. 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 calligra
    yum install 'libreoffice'
    yum groupinstall 'kde-desktop'
  4. Logout. In GDM, before entering password, change desktop language to another and login again.
  5. 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.



Reference Bugs

Bug 681747 langpacks not pulled in by groupinstall kde-desktop or office