Updated translation stats calculation method

Jon Lapham lapham at extracta.com.br
Sun Aug 17 15:00:15 CDT 2003


I've modified my postats.pl script to be able to filter scheme files. 
This means that now we can calculate the translation statistics where we 
exclude both country specific strings (hcbi) and stuff that shouldn't be 
there anyway (help-topics-index.scm).

Oh, and I discovered that I get much better results if I "msgmerge" the 
.po files to the .pot file first.  While the merging doesn't add 
translations, it does remove out of date ones and it adds/removes source 
code file names... which is what I use to filter strings.  So, with the 
pot-po file merging the filtering is more accurate.

The end results of all this is that many of the "Done %" went up quite a 
bit, and rightly so.  I was underreporting the percentages before.  Wheee!

7 languages are >90% done            (previously 5)
2 languages are between 80-90% done  (previously 3)
3 languages are between 70-80% done  (previously 3)

The latest results (includes the latest fr.po update):

lapham at bilbo > ./po_stats.pl gnucash.pot *.po
Running ./po_stats.pl (v 2003-08-17)
date      = Sun Aug 17 13:22:22 2003
output    = text
merge     = Yes
potfile   = gnucash.pot
exclude   = hbci|help-topics-index.scm|guile-strings.c
max msgs  = 2559
pofile(s) = cs.po, da.po, de.po, el.po, en_GB.po, es_NI.po, es.po, 
fr.po, hu.po, it.po, ja.po, nb.po, nl.po, pl.po, pt_BR.po, pt.po, ru.po, 
sk.po, sv.po, ta.po, uk.po, zh_CN.po, zh_TW.po

Language     Done %    Trans  Untrans    Fuzzy  Missing
----------  -------  -------  -------  -------  -------
de.po         100.0     2559        0        0        0
pt_BR.po      100.0     2559        0        0        0
en_GB.po       94.8     2425       69        0       65
nl.po          94.8     2425       68        0       66
it.po          94.4     2415       73        0       71
zh_TW.po       94.1     2407       68        0       84
cs.po          93.3     2388      106        0       65
ru.po          84.7     2167      116        0      276
fr.po          82.9     2122      437        0        0
pt.po          77.1     1974      113        0      472
es.po          77.0     1970      464        0      125
sk.po          73.2     1872      586        0      101
sv.po          52.4     1341      468        0      750
hu.po          52.2     1337      470        0      752
da.po          52.2     1335      470        0      754
el.po          50.4     1289      972        0      298
es_NI.po       49.4     1265      510        0      784
ja.po          46.5     1191      612        0      756
pl.po          22.4      574     1411        0      574
zh_CN.po       21.8      559     1432        0      568
uk.po          20.7      530     1363        0      666
nb.po          14.4      369     1552        0      638
ta.po          13.4      344     2151        0       64


-- 
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
  Jon Lapham  <lapham at extracta.com.br>          Rio de Janeiro, Brasil
  Work: Extracta Moléculas Naturais SA     http://www.extracta.com.br/
  Web: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------




More information about the gnucash-devel mailing list