collective / i18ndude

i18ndude performs various tasks related to ZPT's, Python Scripts and i18n.
https://pypi.org/project/i18ndude
4 stars 9 forks source link

In list command, show only stats for existing po files #56

Closed mauritsvanrees closed 6 years ago

mauritsvanrees commented 6 years ago

Order the languages by percentage. The traditional approach with the three tiers is available in the new option --tiered. Works for both the standard list and the html table. The list gives something like this (Plone 4.3):

$ i18ndude list -p plone
Messages: 2566

100% - Basque (eu)
 98% - Português do Brasil (pt-br)
 97% - Italiano (it)
 97% - Español (es)
 97% - Traditional Chinese (zh-tw)
 97% - French (fr)
 97% - Українська (uk)
 94% - Danish (da)
 93% - Czech (cs)
 93% - Slovenian (sl)
 92% - Nederlands (nl)

This is for master. Might be backported to 4.x, but locally I am always using master.