From Fedora Project Wiki

m (1 revision(s))
mNo edit summary
Line 1: Line 1:
= Docs Translation statistics =
= Docs Translation statistics =


{{ Template:message/notice | This page is deprecated and could be deleted soon. Translation statistics for Docs can be found at the translation project website, at https://translate.fedoraproject.org/. You can either choose a Docs module to see the translations, or navigate to a release (fedora-X and various) and view the statistics for a particular language.  
{{Admon/tip | This page is deprecated and could be deleted soon. Translation statistics for Docs can be found at the translation project website, at https://translate.fedoraproject.org/. You can either choose a Docs module to see the translations, or navigate to a release (fedora-X and various) and view the statistics for a particular language. }}
}}


== Command-line method ==
== Command-line method ==

Revision as of 12:24, 5 June 2008

Docs Translation statistics

Idea.png
This page is deprecated and could be deleted soon. Translation statistics for Docs can be found at the translation project website, at https://translate.fedoraproject.org/. You can either choose a Docs module to see the translations, or navigate to a release (fedora-X and various) and view the statistics for a particular language.

Command-line method

Alternatively, you may use make postat in each Docs module to get some statistics for its translations. For more information, see Paul's message on -docs-list . Output is clipped from the normal "msgfmt --stat" command to look like one of the following, where TT is translated, FF is fuzzy, and UU is untranslated:

xx: TT/
xx: TT/UU/
xx: TT/FF/UU 

The following script checks the current status of all modules using a fresh checkout, and cleans up after itself. Output goes to stdout by default.

#!/bin/bash

MYID=<code>uuidgen</code> || MYID="postat-tmpdir"
TEMP=/tmp
MYDIR=${TEMP}/${MYID}

mkdir -p $MYDIR && pushd $MYDIR >/dev/null

ACCT=":pserver:anonymous@cvs.fedoraproject.org:/cvs/docs"

cvs -Qd $ACCT co docs-common
for i in \
about-fedora \
homepage \
readme \
readme-burning-isos \
readme-live-image \
release-notes
do
cvs -Qd $ACCT co ${{Template:Note}}-devel-dir && ( pushd ${{Template:Note}} >/dev/null ; echo "=== $i ===" ; make postat ; echo ; popd >/dev/null )
done

popd >/dev/null
[ "$1" != "-t" ]  && rm -rf $MYDIR