The Tournament Director Forums

Main => Help Me => Topic started by: mcfrojd on January 19, 2012, 09:44:52 AM

Title: Language file
Post by: mcfrojd on January 19, 2012, 09:44:52 AM
On the "Players Rankings Screen" there is a table with all rankings.
How and where do i edit the column names?

Been looking trou the .properties files but no luck.
Title: Re: Language file
Post by: Magic_fubu on January 19, 2012, 10:01:25 AM
Layout -> Properties -> Built-In Screen Section -> Player Ranking Screen

On the upper right, there's a button you can click that says "Edit Columns" and "Edit Column Names"

(Assuming that you're using the built in screen and not a custom. Otherwise go to custom screens section, and find the proper screen)
Title: Re: Language file
Post by: mcfrojd on January 19, 2012, 10:05:42 AM
Wow, cant belive im so blind..

Thanks alot
Title: Re: Language file
Post by: mcfrojd on January 19, 2012, 10:12:21 AM
My mistake..

It wasent the Player Rankings Screen i was looking at..

It was my POST-TOURNAMENT screen.

There im using the token <rankings showTimeOut="true" showRoundOut="true" showStillIn="true" showHitman="true" showHits="true" showWinnings="true" showPoints="true">

And it's those Column Names i would like to have in swedish..
Title: Re: Language file
Post by: Corey Cooper on January 19, 2012, 10:25:44 AM
In file messages.players.properties, keys:
Settings.Players.Column.Rank
Settings.Players.Column.TimeOut
Settings.Players.Column.RoundOut
Settings.Players.Column.Hits
Settings.Players.Column.Hitman
Settings.Players.Column.Points


In file messages.tournament.properties, keys:
Tournament.Rankings.Column.Player
Tournament.Rankings.Column.Winnings


Note that if you change the files in lang\en-us, your changes will be overwritten the next time you install the software (for the next version, for example).  What you should do is copy the en-us file to a new folder (at the same location, name it "sv" or something similar), then change the files in that folder.  The TD will automatically recognize this folder as a new language pack (and you can give it an appropriate name by editing the file "description").  It will not be overwritten by a future install.

You know there's a Swedish language pack available already for download on the main website, right?  It might not be complete, but those parts are definitely translated.  http://www.thetournamentdirector.net/languages.html
Title: Re: Language file
Post by: Magic_fubu on January 19, 2012, 10:32:21 AM
mcrfojd, we've all done things that we've gone "duh" about, including myself. No need to feel bad :)  We're here to help, so if you have any questions, don't hesitate to ask - someone will answer!