From Fedora Project Wiki
Line 8: Line 8:
Each time a typographic rule is not satisfied, the program stops and ask the user what to do. The figure 1 below shows how it looks like :
Each time a typographic rule is not satisfied, the program stops and ask the user what to do. The figure 1 below shows how it looks like :


[[Image:po_purifier_1.png|center]]
[[Image:po_purifier_1.png|center|500px]|Figure 1: Typographic fault detected]]

Revision as of 05:59, 2 June 2016

Important.png
This page is a work in progress.
Note.png
This page describe and explains how to setup and use a python tool that aims at detecting typographic fault in translation files.

Description of the tool

This tool is a python script that can be found at https://github.com/jaaf/po_purifier. It scan a directory for .po files. For each file, it checks translated messages against typographic rules that resides in a configuration file nammed typorules.py. Each time a typographic rule is not satisfied, the program stops and ask the user what to do. The figure 1 below shows how it looks like :

Figure 1: Typographic fault detected