[gcompris-devel] Re: translation of xml files

bruno bruno.coudoin at free.fr
Sun Dec 9 16:28:01 UTC 2001


On dim, 2001-12-09 at 18:26, Martin Herweg wrote:
> 
> Hi, it's me again ;-) !
> 
> I translated
> 
> boards/missing_letter/board1.xml 
> 
Oups, you should never translate .xml files. 
XML files that needs translation are moved to xml.in and with xmli18n
are reintroduced in regular .po files.
On this file, it seems that board1.xml.in is missing from the cvs.
Pascal, can you confirm ?


> it works fine.
> 
> but in /boards/imagename/board2_0.xml
> it doesnt work like this:
> 
>   <Shape name="A" pixmapfile="gcompris/misc/bottle.png"
>          x="194" y="130" zoomx="1" zoomy="1" position="0"/>
>   <Title name="bottle" x="194" y="240" justification="GTK_JUSTIFY_CENTER"/>
>   <Title xml:lang="de" name="Flasche"  x="194" y="240" 
> justification="GTK_JUSTIFY_CENTER"/>
> 
> or is it completly wrong to translate XML-Files ?
> do I have to put it into .po files somehow ?

Oups, this one is my mistake for sure. I have to create the .xml.in for
this set of boards.
Sorry.

> 
> 
> 2 small bugs I found:
> 
> in "Missing Letter" the game is asking for the last item 2 times
> 
> in "imagename" you only get every second board : 2,4,6
> 
> 
I think I already noticed the fist to Pascal. For the second, it maybe
me when I moved to fullscreen with the new progress status.
I check that one.

Bruno.






More information about the Gcompris-devel mailing list