Re: gettext lint tools
- From: =?utf-8?q?Jos=C3=A9_Nuno_Coelho_Sanarra_Pires?= <jncp netcabo pt>
- To: Nikos Charonitakis <nikosdevel yahoo gr>,Pedro Morais <pmmm rnl ist utl pt>
- Cc: kde-i18n-doc kde org, GNOME I18N List <gnome-i18n gnome org>
- Subject: Re: gettext lint tools
- Date: Sun, 25 Jan 2004 17:46:50 +0000
Em Sunday 25 January 2004 14:15, o Nikos Charonitakis escreveu:
> Very nice tools, thank you!
>
> One question:
> How can i generate html reports from xml files.
> Is there an easy way?
You can easily generate HTML reports from XML files using XSL transformations
(XSLT). You can find references about such technologies in
http://www.w3.org/TR/xslt
Other technology deeply related to XSLTs is the XPath language. More about it
in
http://www.w3.org/TR/xpath
We use such kind of files when we generate (in a static, scheduled way,
unfortunately) the HTML pages for
http://kde-pt.homelinux.org/status.html
(a page with the status for KDE translations into Portuguese).
Hope this may help you understand it a little bit more. More comments
appreciated!
Best regards,
José Nuno Coelho Pires
>
> NikosC
>
> Στις 24/Ιαν/2004, ημέρα Σάββατο και ώρα 18:47, ο/η Pedro Morais έγραψε:
> > Hi!
> > I just released the first version of my gettext linting tools.
> >
> > http://mega.ist.utl.pt/~pmmm/gettext-lint/
> >
> > I use them in KDE's and Red Hat/Fedora i18n for checking the consistency
> > between translations in different files (it replace's kde-i18n's
> > check_consistency and in my benchmarks is 10 times faster) and for
> > checking common mistakes like a message that ends with a ':' but the
> > translation doesn't, etc, etc. Please take a look at the sample reports
> > for more.
> >
> > The tools are written in Python, patches/comments/requests welcome.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]