Contents - Index


Preparing webpages

in your language

 

To change language of printouts and webpages click on button or select Tools/Page language from menu and then browse for desired .language file. Every time you use this option the newly selected language becomes the default for the incoming events.

 

The programs from Teamy have English interface but webpages and printouts can be published in language of your choice. At the moment this is English or Polish - but you can prepare your own translatation. This will take some time, but needs to be done once.

 

NOTE: if you prepare Teamy for your language, please send me three files described below. I will incorporate them in future versions.

 

Suppose you want to publish your pages in esperanto.

Open My Computer. In the program directory, usually in C:\Program Files\JFR\Teamy, locate three files:

 

 

For every file above:

 

Finally you will get three new files:

 

For every file above open it in Notepad (or in your favorite plain text editor) and do the translation:

 

The .language file consists of all texts that will appear on webpages. It is commented out at the very beginig. Start your job from reading this comments. You will have to translate about a hundred (short) strings. Try to keep length of each in reasonable exceed of the english string (2-3 characters).

 

The .logo files are pieces of html. Every time you create new tournament the .logo file is used as a template for the header of webpages. The 1xxx.logo is for one round tournaments (usually playoffs) and xxx.logo for all others. You can edit this header using Admin's menu Tools/Event logo editor. Text to translate in english.logo is shown below in bold. 1english.logo is similiar, but shorter. :LONG: and :SHORT: are placeholders for parameters taken from tournament, leave them intact. YourLogo.png is a name of existing graphics placed in images directory. Change it to your usual logo. Of course this can be changed for every particular event.

 

<table cellspacing="0" cellpadding="0" border="0"><tr>

<td valign="center"><img src="images/YourLogo.png"></td>

<td align="center"><font size="5">:LONG:

</font><br><br>

<!--a comment: delete not needed lines below -->

[<a class="zb" target="_top" href=":SHORT:leaderb.html">&nbsp;results&nbsp;</a>]&nbsp;

[<a class="zb" target="_top" href=":SHORT:tabela.html">&nbsp;crosstable&nbsp;</a>]&nbsp;

[<a class="zb" target="_top" href=":SHORT:kawy.html">&nbsp;penalties&nbsp;</a>]&nbsp;

[<a class="zb" target="_top" href=":SHORT:butler.html">&nbsp;butler&nbsp;</a>]&nbsp;

[<a class="zb" target="_top" href=":SHORT:vptable.html">&nbsp;VP table&nbsp;</a>]&nbsp;

</td></tr></table>

 

Optionally: use any picture editor and, still in program directory, create esperanto.bmp, a small 16×16 picture of esperanto flag. This flag will be shown on language button in Admin.exe. Without esperanto.bmp the EU flag will be used for your esperanto translation.