French translation

Topics about translating Bygfoot

Moderator: romihaitza

gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

Lomion wrote:Xml commentaries will have to wait until the "intelligent commentaries" are fully implemented.
you can do a bit of testing already if you like, i committed to cvs yesterday.

the list of tokens is at the bottom of this page:
http://bygfoot.sourceforge.net/doc/1.9/ ... howto.html

a simple commentary:

Code: Select all

<commentary>Goal!!</commentary>
commentary with a player token:

Code: Select all

<commentary>_P1_ scored!!</commentary>
conditional commentary (>, <, =, !=, 'and' and 'or' are supported):

Code: Select all

<commentary cond="_GH_ + _GA_ > 4">Boy, i haven't seen this many goals in a game for a looong time</commentary>
conditional commentary with some arithmetics:

Code: Select all

<commentary cond="_GH_ + _GA_ > 4">Boy, i haven't seen [_GH_ + _GA_] goals in a game for a looong time</commentary>
you should then get in the live game the following:
Commentator wrote:Goal!!
Commentator wrote:Gyözö scored!!
Commentator wrote:Boy, i haven't seen 5 goals in a game for a loong time
nice, isn't it?

we just have to add some more tokens to make it even better. i guess i'll add some stuff from the stats page (shots, fouls, possession etc.) and maybe player data (goals scored in the match). though that will be a bit harder than the tokens we have now.

suggestions for new token are appreciated ;-)

i'm going to write about the new possiblities in the howto soon.

gyözö
Press any key to continue or any other key to quit.
Lomion
Posts: 58
Joined: Thu Jun 23, 2005 10:14 am
Location: Grenoble, France

Post by Lomion »

Very good :D
We have to add as many as possible, so that the live games commentaries become very realistic and interesting. I'll play with it this evening.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

and i'm going to add new tokens and try to improve the implementation.

gyözö
Press any key to continue or any other key to quit.
Post Reply