From Fedora Project Wiki

Revision as of 09:15, 1 February 2016 by Pnemade (talk | contribs) (basic commands added)

Description

This test case tests whether langpacks can be installed and whether it can show available language translations for your current locale.

Setup

  • Check if your system has langpacks-<current_locale_code> package installed by executing:
rpm -qa langpacks*
  • If the package is not installed install it using dnf:
    dnf install langpacks-<required_langpacks_locale_code>

How to test

  • Following steps are to test langpacks by using dnf commands
1) To list the already installed language support, run the following command
dnf list installed "langpacks*"
2) To check if any language support is available for your language, run the following command
dnf list available "langpacks*"
3) To list what packages will get installed for any language, run the following command
dnf repoquery --whatsupplements langpacks-<locale_code>
4) To add new language support, run the following command
dnf install langpacks-<locale_code>
5) To remove installed language support, run the following command
dnf remove langpacks-<locale_code>

Expected Results

For testing langpacks with rpm weak dependencies by adding/removing language support

You need to use meta-packages for langpacks.