Please remove this {{Draft}}template, when you're sure the page is complete and correct.
|
Contents
Introduction
Sometimes the issue reported are language specific, it is necessary to identify if additional steps are required to reproduce the reported behavior.
Some GUI applications can switch language on the fly, other need to install external language packs and perhaps extension to switch the language.
Text based applications may require additional configuration to reproduce the behavior and make sure the proposed packages fix it.
CLI
Example
I'm going to use mga#22553 as example for this.
First make sure you can't reproduce the reported behaviour, the most obvious symptom is if you run by example
LANGUAGE=de free
or LANGUAGE=fr free
You get the English output of the command instead of the German or French output.
Preparations
The Packaging localisation policy makes that just the system language required files be installed on your system, if you need additional languages to test the reported behaviour, then you need to edit as root the file /etc/rpm/macros
to add additional language code.
As alternative to edit /etc/rpm/macros
you can install the locales packages required for the test, by example locales-de
and locales-fr
Reinstalling current version of affected package
- Identify the package that need to be reinstalled, by example procps-ng
- In a terminal as root run
urpmi --reinstall procps-ng
Run again
LANGUAGE=de free
orLANGUAGE=fr free
If the preparations were done correctly, then the output of the application will now be in German or French
I reproduce the issue, now what?
Download the testing packages with QA Repo, and install them, run again
LANGUAGE=de free
or LANGUAGE=fr free
Check if really fix the reported issue, and report your results.
Actions after the test
You can edit again /etc/rpm/macros
to remove extra locales (or uninstall by example locales-de
and locales-fr
if you choose to install them) to avoid unnecessary files in your system.
Final Tip
Remember that the command, locales packages and the issue in this section is just an example, if you need to test other text based application or other language you should change free
by the command that you need to test and check what languages need to be present.