Translations added to tournaments script

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">
/*
* CasinoListings.com 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",
}
</script>

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

0
 
 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may quote other posts using [quote] tags.
  • Lines and paragraphs break automatically.
  • You can link nodes to other nodes using the following syntax:
    [node:node_id,title="val2"]
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are human, to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.