Translating OLPC software

The core OLPC soft­ware is developed at http://​dev.​laptop.org/ using the GIT source code man­age­ment system.
For the tasks of the trans­lator, one needs to look into the dif­fer­ent pro­jects and locate any po/ sub­dir­ect­ory. The exist­ence of this sub­dir­ect­ory show that the piece of soft­ware is inter­na­tion­al­ised (=can be translated).

For example, the core com­pon­ent sugar can be trans­lated. In the main sugar page, and locate the po/ sub­dir­ect­ory that shows up. Click on it and you get the sugar po/ sub­dir­ect­ory with a few trans­la­tions. Spe­cific­ally, Yoruba, Hausa, Igbo and Italian. The italian trans­la­tion is sadly use­less. The trans­lator made a mis­take; he saw

msgid “Hello”

msgstr “”

and changed to (WRONG)

msgid “Ciao”

msgstr “”

instead of (CORRECT)

msgid “Hello”

msgstr “Ciao”

Nor­mally, one would need to regen­er­ate the Tem­plate PO (POT) file before trans­lat­ing, instead of work­ing on one of the exist­ing trans­lated files. To do so, one needs to down­load the source code of sugar using the git tool and then use intltool-​update -P to create the fresh sugar.pot file.

5 Responses to “Translating OLPC software”

  1. Simos, is there any way to runs OLPC OS in our exist­ing OS, using emu­lator like qemu maybe? Is there any.. uhm some­thing like images or iso for OLPC OS? I’ve heard that most apps are based on python, can we deploy our ready made apps (which built with python gtk in linux, just a simple Indone­sian lan­guage tenses tutorial) on Sugar? I’m get­ting inter­ested with this cute lil’ gizmo since Jaya brought it to asian source ;)

  2. Diki, you can indeed run the OLPC using an emu­lator. In the screen­shots of my pre­vi­ous post I use qemu. VMWare (VMPlayer)/Parallels are also sup­por­ted.
    For instruc­tions and the loc­a­tion of the images, see
    http://​wiki.​laptop.​org/​g​o​/​O​S​_​i​m​a​g​e​s​_​f​o​r​_​e​m​u​l​ation

    And yes, you can use Python from your work­sta­tion to write applic­a­tions for the OLPC. See
    http://​wiki.​laptop.​org/​g​o​/​O​L​P​C​_​P​y​t​h​o​n​_​E​n​v​i​r​o​nment
    Just the inter­face has to be a bit child-​oriented :)

  3. Ah ic, I missed the wiki. Com­plete inform­a­tion though, thx simos.

  4. Simos hi
    I have just installed OLPC in a vir­tual machine in Par­al­lels Desktop on an intel core 2 duo based mac. The install­a­tion was com­pleted suc­ces­fully but there is a prob­lem. I reach the ini­tial page of Sugar (the OLPC inter­face) where I am asked to give my name, a buddy pic­ture and choose my “icon” colors and I can actu­ally com­plete all these form ele­ments, but I cannot get any fur­ther than that. The next button on the bottom of the screen doesn’t seem to work.

    I don’t know if you can help with that so I just ask.
    Thanks in advance
    George

  5. George, you may have stuck on a bug, or the same prob­lem I faced.
    Once the inter­face is up and run­ning, you get a seem­ingly blank screen. If you move the mouse to the top-​left, a set of options appear on the top and bottom of the screen. At the bottom you get the avail­able applic­a­tions.

    Other than that, have a look at http://​wiki.​laptop.org/ for more help.

Discussion Area - Leave a Comment