Author Topic: Language file  (Read 854 times)

mcfrojd

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Language file
« 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.

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Language file
« Reply #1 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)
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!

mcfrojd

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Language file
« Reply #2 on: January 19, 2012, 10:05:42 AM »
Wow, cant belive im so blind..

Thanks alot

mcfrojd

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Language file
« Reply #3 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..

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Language file
« Reply #4 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

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Language file
« Reply #5 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!
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!