One more application fully localized, one started!

Still actually working on that new project of mine, we (Pockey and I) finished Gcompris localization in Chinese last Saturday. Ok, most of the work was done with 98% completed, which shows a huge increase from 6 months ago actually where less than half was translated into Chinese. Gcompris is an educational software suite which proposes different activities to children from 2 to 10 years old. Gcompris po files are available from the Gnome website where you can find a few other languages that need completion. Coordinating the Gnome Chinese translation effort it is worth mentioning that you can find BLUG member and occasional presenter Funda Wang (Yeah BLUG again).

This being said we have also started localizing Hex-a-hop, a puzzle game with 100 levels. The internationalization process was completed last year in July by Jens Seidel, who has developed the patches for making it work with SDLPango and to support all the spectrum of Unicode characters. With debian packages, the process of getting the po file is a big more “complicated”. In fact there are two ways, one given to me by Miriam Ruiz (Hex-a-hop maintainer at debian) and one by Anthony Fok (BLUG member among so many other things, and great Linux contributor). So here we go (for those who would like to actually translate other debian projects):

miriam@miriam:~/tmp$ apt-get source hex-a-hop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 1020kB of source archives.
Get:1 sid/main hex-a-hop 0.0.20070315-6 (dsc) [1004B]
Get:2 sid/main hex-a-hop 0.0.20070315-6 (tar) [892kB]
Get:3 sid/main hex-a-hop 0.0.20070315-6 (diff) [127kB]
Fetched 1020kB in 1s (577kB/s)
dpkg-source: extracting hex-a-hop in hex-a-hop-0.0.20070315
dpkg-source: info: unpacking hex-a-hop_0.0.20070315.orig.tar.gz
dpkg-source: info: applying hex-a-hop_0.0.20070315-6.diff.gz
miriam@miriam:~/tmp$ find . -name "*.po"
miriam@miriam:~/tmp$ find . -name "*.pot"

Then you just need to open the .pot file with poedit. Second method is to convert the .mo file which you can get from the binary deb file back into a .po file typing:

dpkg-deb -x hex-a-hop_0.0.20070315-6_i386.deb testdir
cd testdir/usr/share/locale/de/LC_MESSAGES
msgunfmt > hex-a-hop.po

Now there is a good explanation here on the translation process used in FOSS for those of you wanting to understand more. Should you want to join us and help, please don’t hesitate to contact me. If you want to translate other applications that you feel should be in your language but are having problems with it, I won’t mind helping out neither.

First stone to the edifice

RUR-PLEJust as I am talking about my new project, last weekend, Pockey and I have already localized a great educational application called RUR-PLE. RUR-PLE is an environment designed to help kids learn computer programming using the Python language. Teaching kids algorithm are without any doubts going to enhance their problem solving abilities, analytical skills and passion to create things out of nothing.

The whole process of localizing this application took half a day as the author, André Roberge, had already internationalized its software. So basically it was just a matter of installing PoEdit, finding the po files in the right directly and just providing the Chinese version.

There are 48 lessons (not all are online, but they come with the package) bundled with RUR-PLE which are in HTML format. Now those have not been internationalized and we have so far only localized the main pages and the documentation. I am therefore starting to dive into the process of HTML internationalizing and I have much to learn. From what Freeflying told me I had to look into XML and DocBook for that. At first sight it does appear fairly complicated, so if anyone has the time to give me a crash course on the ABC’s of HTML internationalization and localization, please feel free to contact me.

What you can remember of this article however is that to port something as useful as RUR-PLE only took one afternoon! So if you want to help and join our efforts do come and visit our group.

Full speed into my new project

As some of you know, I have decided to resign from the Beijing LUG presidency in order to have more time to do things that I feel more useful for Open Source in China. To continue on the topic actually, I think it will be good for the BLUG to have a new leadership. It was a very rewarding experience for me and I am really glad it happened.

So just as I feel so free I am getting myself into pushing Linux to schools, and building something useful for that purpose. I already had one opportunity last summer (July 2007) in Qingdao and unfortunately the lack of good solution in Chinese killed the project. Early this year a second opportunity arose and I have decided not to let it vanish again. Benjamin Cooperman, teacher at BISS, brought this one on a tray and we now “just need to execute”.

For those not familiar with the details, we’re collecting old PCs from schools or companies, refurbishing them, installing a light weight Linux distribution with a suite of usable educational applications in Chinese and donating those to poor schools as well as providing training to the teachers.

The project wants to be distribution agnostic and (as the OLPC project should have been – I hope you sense my disappointment now) about providing the right tools for teachers and students to be successful.

First phase will be based on PuppyLinux as we have hardware limitations but ultimately we’ll have a software stack easily installable for a few distributions. CECC, one of the main Chinese contributor to E-pup, the Chinese PuppyLinux, is helping us in our endeavor and of course a few BLUG members as well.

More information on the BLUG wiki. We will need translators and people with experience in internationalization. Should you feel interested please do join our group, or contact me.