On Mon, Jun 22, 2009 at 4:57 PM, Ævar Arnfjörð Bjarmason<[email protected]> wrote: > I improved the script/locale/diff program in railsport. It can now > spew out a list of keys that are equivalent between two YAML files, > this is useful for finding out what you have to translate, or to > produce stats, e.g.: > > (for translation in $(ls *yml|grep -v en.yml); do (perl > ../../script/locale/diff --untranslated-values en.yml $translation | > wc -l | tr '\n' ' ') && echo $translation; done)|sort -n > 33 zh-TW.yml > 43 pt-BR.yml > 48 de.yml > 83 sl.yml > 88 es.yml > 106 pl.yml > 108 ru.yml > 115 it.yml > 118 ja.yml > 119 be.yml > 126 zh-CN.yml > 149 is.yml > 150 nl.yml > 371 ko.yml > 400 el.yml > 422 fr.yml > 443 hi.yml > 510 ca.yml > 563 he.yml > 606 yo.yml > > That's the number of untranslated keys in each .yml file in > config/locales. It's not 0 in any of them because some of the keys > haven't been translated on purpose, or are equivalent to English.
The translations are going great, we now have 15 languages with fewer than 100 untranslated keys, as opposed to 5 just a few days ago: 0 is.yml 4 de.yml 5 ca.yml 5 el.yml 5 ru.yml 11 fr.yml 12 es.yml 13 be.yml 14 it.yml 14 pl.yml 24 pt-BR.yml 24 zh-TW.yml 35 sl.yml 41 zh-CN.yml 48 nl.yml 110 ja.yml 362 ko.yml 380 hi.yml 462 he.yml 596 yo.yml _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

