CL-Ed's picture
Location: Sydney
Joined: 7 Sep 2007
Posts: 8495
Thanks given: 4568
Thanks received: 3956
17 September 2008 - 4:47am

Translations added to tournaments script

No replies

Hi all, we have added the ability for you to translate the text in the table output by our tournaments script.

If you would like to translate the text, you will need to include an extra piece of script on your page.
This extra script should be edited with the translations that you would like to use.

You can get the necessary script at the tournaments script page inside the webmaster settings section of your user account - click your name at the top of this page if you are already registered to get there. Or you can just copy and paste my example below.

Here is an example of what you will need to do (it is very simple). I have translated most of the column headings to French below - and before you blast me, I'm not a French speaker so it may not be completely accurate! But it gives you the idea of what is necessary.

<script type="text/javascript">
* tournaments script translation template.
* Put each word or phrase to be translated on a separate line in the following format:
* "original" : "Translation",
* "original multi word phrase" : "Translated phrase",
* Tips:
* - You can translate any piece of text in the table cells including column headers
* - Words are translated in the order listed, so put multi-word translations first
* - Partial words do not match i.e. "slot" will not match in "slotsmania" or "5 reel slots"
var CLD_t = {
"Tournament" : "Tournoi",
"Starts" : "Débuts",
"Ends" : "Finition",
"Prize Pool" : "Prix",
"Entry" : "Honoraires",
"US" : "",
"Casino" : "",
"Closed" : "Fermé",
"Open" : "Ouvert",
"winners" : "gagnants",
"Free" : "Libre",

Enjoy, and feel free to ask any questions that you may have.

Always play it safe! Consult our list of rogue casinos and warnings before depositing at a new casino.
Post in our forums to earn CLchips which can be used to buy real prizes in our CLchips shop.