From Fedora Project Wiki

(init commit)
 
Line 60: Line 60:
 
}}
 
}}
  
 
+
[[Category:I18n_Desktop]]
[[Category:Dnf_Langpack_Test_Cases]]
 

Revision as of 09:17, 27 August 2014

Description

This test case tests whether langpack can show available language translations for your current locale.

Setup

  • Check if your system has Package-x-generic-16.pngdnf-langpacks plugin installed by executing:
rpm -q dnf-langpacks
  • If the package is not installed install it using dnf:
    dnf install dnf-langpacks

How to test

  • Following steps are to test langpacks dnf plugin by using dnf commands
1) To list the already installed language support, run the following command
dnf langlist
2) To check if any language support is available for your language, run the following command
dnf langavailable <locale_code>/<languagename>
3) To list what packages will get installed for any language, run the following command
dnf langinfo <locale_code>/<languagename>

Expected Results

For testing langpacks dnf plugin by adding/removing language support

Note.png
You can either use locale code or language name for dnf langpacks commands.
1) To check if French language support is available use command
dnf langavailable fr
If you see output as
fr is available
then you have French language support


2) To list what packages will get installed for French language, run following command
dnf langinfo fr
you will see output like
Loaded plugins: langpacks, refresh-packagekit
Language-Id=fr
  LabPlot-doc-fr
  aspell-fr
  autocorr-fr
  calligra-l10n-fr
  drascula-fr
  eclipse-nls-fr
  gcompris-sound-fr
  gimp-help-fr
  hunspell-fr
  hyphen-fr
  kde-i18n-French
  kde-l10n-French
  kicad-doc-fr
  libreoffice-langpack-fr
  man-pages-fr
  mythes-fr
  sagemath-doc-fr
  tagainijisho-dic-fr
  tkgate-fr