Quack Translates to Quack

Playing a little bit with Mallard, prompt by last GNOME Documentation Q&A session and by Shaun release of gnome-doc-utils 0.17.2, I tried to see what is the situation with Mallard and translations using the xml2po tool.

Well… looks like it works.

From this:

The Way of the Mallard

The English Man

To this:

The Italian Job

The Italian Job

Well, it’s a start, and it’s almost working. There are a couple of descriptions that are still in English even if they have been translated, and I don’t really understand why those are still in English.

Anyway:

  • Nothing has been done on xml2po to make it works
  • After converting from PO to Mallard two files, since you have to convert one file at a time, I got bored and I wrote a stupid Python script
  • Future looks bright and we might be able to ship Mallard doc with the 2.28🙂

Don’t forget:

  • Tonight, at 9pm UTC, there’s the GNOME Doc team meeting (#docs in GIMPNet)
  • If you haven’t done it yet, take the Empathy survey to help the GNOME Documentation Project!
2 commenti
  1. jay ha detto:

    recommendation: put the copyright in the about menu and not @ the bottom of the page (for aesthetic reasons)

  2. Shaun ha detto:

    Awesome. Nice to see a semi-working example. If Danilo or someone else doesn’t step up while I’m away, I’ll take a crack at the xml2po mode to make things a bit nicer.

    Jay, this is using something very close to the default HTML transformations for Mallard in gnome-doc-utils. There are certainly things we can do to make the documents feel nicer inside Yelp. I’ll be looking into issues like that in the coming months.

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: