Hi,

There has been a lot of efforts from you guys to have up-to-date
translations. The problem for us is that we don't have a complete
picture of the state of a translation at a given moment.

So i wrote a little python script that parses a translation file and
gives some statistics about it (finished translations, unfinished
ones, and completeness percentage).

You can find it here :

http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/script/tsreport.py

Use it like that :

tsreport.py myfile.ts myfile2.ts ...

And here is the output for all the translations from the 1.0 branch :

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_cs.ts

Total translations:             501
Finished translations:          384
Obsolete translations:          40
Unfinished translations:        77

Completeness:                   84 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_de.ts

Total translations:             489
Finished translations:          202
Obsolete translations:          29
Unfinished translations:        258

Completeness:                   47 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_en.ts

Total translations:             462
Finished translations:          14
Obsolete translations:          1
Unfinished translations:        447

Completeness:                   3 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_es.ts

Total translations:             505
Finished translations:          449
Obsolete translations:          45
Unfinished translations:        11

Completeness:                   97 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_fi.ts

Total translations:             463
Finished translations:          461
Obsolete translations:          2
Unfinished translations:        0

Completeness:                   100 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_fr.ts

Total translations:             974
Finished translations:          461
Obsolete translations:          513
Unfinished translations:        0

Completeness:                   100 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_it.ts

Total translations:             525
Finished translations:          442
Obsolete translations:          65
Unfinished translations:        18

Completeness:                   96 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_ja.ts

Total translations:             532
Finished translations:          460
Obsolete translations:          71
Unfinished translations:        1

Completeness:                   99 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_nl.ts

Total translations:             460
Finished translations:          0
Obsolete translations:          0
Unfinished translations:        460

Completeness:                   0 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_pl.ts

Total translations:             974
Finished translations:          438
Obsolete translations:          513
Unfinished translations:        23

Completeness:                   97 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_pt.ts

Total translations:             528
Finished translations:          299
Obsolete translations:          68
Unfinished translations:        161

Completeness:                   69 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_ru.ts

Total translations:             534
Finished translations:          160
Obsolete translations:          74
Unfinished translations:        300

Completeness:                   43 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_sk.ts

Total translations:             506
Finished translations:          284
Obsolete translations:          45
Unfinished translations:        177

Completeness:                   65 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_sv.ts

Total translations:             460
Finished translations:          0
Obsolete translations:          0
Unfinished translations:        460

Completeness:                   0 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_vi.ts

Total translations:             460
Finished translations:          0
Obsolete translations:          0
Unfinished translations:        460

Completeness:                   0 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_zh-cn.ts

Total translations:             578
Finished translations:          215
Obsolete translations:          117
Unfinished translations:        246

Completeness:                   57 %
====================================

Statistics for ../softphone-classic/branches/1.0/gui/lang/wengo_zh.ts

Total translations:             560
Finished translations:          455
Obsolete translations:          99
Unfinished translations:        6

Completeness:                   98 %
====================================

Report any bugs here.

Thanks,

David

-- 
     David Ferlier -- [EMAIL PROTECTED]

      "Humor is mankind's greatest blessing."
              --  Mark Twain 
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to