Travian Distance Time Calculator

By Arandia Last update May 15, 2009 — Installed 53,670 times.

Translations here please

in
Subscribe to Translations here please 35 posts, 17 voices



Arandia Script's Author

Just to keep things simple - I'd appreciate if all future translations went here, please.

Everything in bold needs translation.

 	/***********************************************
	 * ENGLISH
	 ***********************************************/
	t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
	    "Could not find your tribe type - please visit your profile page";
	t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
	    "No record of your home village location - please visit your profile page";
	t['Set as reference village'] = "Set as reference village";
	t['Unset as reference village'] = "Unset as reference village";
	t['distance'] = "Distance:";
	t['time'] = "<b>Time:</b> (hrs)";
	t['Reload Tribe'] = 'Reload Tribe';
	t['Merchant'] = 'Merchant';
	t['What level is your Tournament Square?'] = 'What level is your Tournament Square?';

	switch (race){
	case 'Romans':
	    units = new Array('Legionnaire', 'Praetorien', 'Imperian', 'E. Legati',
			       'E. Imperatoris', 'E. Caesaris', 'Ram', 'Fire Catapult',
			       'Senator', 'Settler');
	    g_tribe_num = 0;
	    break;
	case 'Teutons':
	    units = new Array('Maceman', 'Spearman', 'Axeman', 'Scout', 'Paladin',
			       'T. Knight', 'Ram', 'Catapult', 'Chieftain', 'Settler');
	    g_tribe_num = 1;
	    break;
	case 'Gauls':
	    units = new Array('Phalanx', 'Swordsman', 'Pathfinder', 'TT', 'Druidrider',
			       'Haeduan', 'Ram', 'Trebuchet', 'Chief', 'Settler');
	    g_tribe_num = 2;
	    break;
	default:
	    alert("Issues in tribe detection!");
	}
	break;

Many thanks!

 
fl0de User

I've recently done a German translation. It has got long unit names but works great @ 1280x1024.


case "de":
/***********************************************
* GERMAN
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Kann den Stamm nicht feststellen - bitte Profilseite besuchen!";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Kein Eintrag des Hauptdorfes - bitte Profilseite besuchen!";
t['Set as reference village'] = "Als Referenzdorf markieren";
t['Unset as reference village'] = "Kein Referenzdorf";
t['distance'] = "Entfernung:";
t['time'] = "Zeit: (std)";

switch (race){
case 'Römer':
units = new Array('Legionär', 'Prätorianer', 'Imperianer', 'E. Legati',
'E. Imperatoris', 'E. Caesaris', 'Rammbock', 'Feuerkatapult',
'Senator', 'Siedler');
speeds = new Array(6, 5, 7, 16, 14, 10, 4, 3, 4, 5); // Romans
break;
case 'Germanen':
units = new Array('Keulenschwinger', 'Speerkämpfer', 'Axtkämpfer', 'Späher', 'Paladin',
'Teutonenreiter', 'Ramme', 'Katapult', 'Stammesführer', 'Siedler');
speeds = new Array(7, 7, 6, 9, 10, 9, 4, 3, 4, 5); // Teutons
break;
case 'Gallier':
units = new Array('Phalanx', 'Schwertkämpfer', 'Späher', 'Theutates Blitz', 'Druidenreiter',
'Haeduaner', 'Rammholz', 'Kriegskatapult', 'Häuptling', 'Siedler');
speeds = new Array(7, 6, 17, 19, 16, 13, 4, 3, 5, 5); // Gauls
break;
default:
alert("Fehler bei Feststellung des Stammes!");
}
break;

 
i_mar User

Turkish translation...thank's :)

case "tr":
/***********************************************
* TURKCE
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Kabile tipi bulunamadı- Lutfen profil sayfani ziyaret et";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Koy yerin kayitli degil - Lutfen profil sayfani ziyaret et";
t['Set as reference village'] = "Referans koyu olarak kullan";
t['Unset as reference village'] = "Referans koyu belli degil";
t['distance'] = "Mesafe:";
t['time'] = "Zaman: (hrs)";

switch (race){
case 'Romalılar':
units = new Array('Lejyoner', 'Pretoryan', 'Emperyan', 'Equites Legati',
'Equites Imperatoris', 'Equites Caesaris', 'Koçbaşı', 'Ateş Mancınığı',
'Senatör', 'Göçmen');
speeds = new Array(6, 5, 7, 16, 14, 10, 4, 3, 4, 5); // Romalılar
break;
case 'Cermenler':
units = new Array('Tokmak Sallayan', 'Mızrakçı', 'Balta Sallayan', 'Casus', 'Paladin',
'Toyton', 'Koçbaşı', 'Mancınık', 'Reis', 'Göçmen');
speeds = new Array(7, 7, 6, 9, 10, 9, 4, 3, 4, 5); // Cermenler
break;
case 'Galyalılar':
units = new Array('Phalanx', 'Kılıçlı', 'Casus', 'Toytatın Şimşeği', 'Druyid',
'Heduan', 'Koçbaşı', 'Mancınık', 'Kabile Reisi', 'Göçmen');
speeds = new Array(7, 6, 17, 19, 16, 13, 4, 3, 5, 5); // Galyalılar
break;
default:
alert("Kabile bulunamadı!");
}
break;

 
chompi User

Hi there, i have installed the last realese of the script and i have a suggestion.

Couz the Bulgarian Translation has long unit names i have modify the translation, added some ? in the unit names... (Стенобойно Оръдие - Стенобойно?Оръдие)

The result is better view...

New:
http://img114.imageshack.us/my.php?image=412785...
Old:
http://img149.imageshack.us/my.php?image=959835...

But im using 1440x900 resolution so it might be better view only for me... xD

 
Arandia Script's Author

Hi Chompi,

Got it. Of course, if you wanted you could suggest some shorter translations altogether...

And actually, if you wouldn't mind providing some of the missing translations? I think there's a few troop names not listed... be nice to have a complete set. Thanks...

 
i_mar User

Hi Arandia ;

Turkish not work? what?

http://server11.travian.com.tr

this is server.

 
Arandia Script's Author

Ahh, I got the problem. The issue is detecting which server it's running on - it was looking at that url and taking the value between the second and third periods, ie 'com', when it should have been taking 'tr'. Fixed now. :D

 
chompi User

Arandia, i cant translate them...

That's why:
http://img408.imageshack.us/my.php?image=asdgy9...

 
Arandia Script's Author

@chompi - I guess that could be a bit of a problem! lol, thanks for the effort none the less :P.

 
julius_ps User

Italian translation.
Thanks in advance.

case "it":
/***********************************************
* ITALIAN
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Non riesco a determare la tribù - per favore vai alla pagina del profilo";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Non trovo le coordinate del villaggio - per favore vai alla pagina del profilo";
t['Set as reference village'] = "Imposta come villaggio di riferimento";
t['Unset as reference village'] = "Cancella come villaggio di riferimento";
t['distance'] = "Distanza:";
t['time'] = "Tempo: (hrs)";

switch (race){
case 'Romani':
units = new Array('Legionario', 'Pretoriano', 'Imperiano', 'Leg.Cav.',
'Imp.Cav.', 'Cav. Romana', 'Ariete', 'Catapulta',
'Senatore', 'Decurione');
speeds = new Array(6, 5, 7, 16, 14, 10, 4, 3, 4, 5); // Romani
break;
case 'Teutoni':
units = new Array('Combattente', 'Lanciere', 'Comb.Ascia', 'Esploratore', 'Paladino',
'Cav.Teut.', 'Ariete', 'Catapulta', 'Comandante', 'Decurione');
speeds = new Array(7, 7, 6, 9, 10, 9, 4, 3, 4, 5); // Teutoni
break;
case 'Galli':
units = new Array('Lanciere', 'Comb.Spada', 'Esploratore', 'Cav.Gallica', 'Cav.Difesa',
'Cav.Avanzata', 'Ariete', 'Catapulta', 'Capotribù', 'Decurione');
speeds = new Array(7, 6, 17, 19, 16, 13, 4, 3, 5, 5); // Galli
break;
default:
alert("Problemi nel rilevamento della tribù!");
}
break;

 
loomy User

Slovak translation

btw. are you thinking to implement the effect of tournament square into travel time counts?


case "sk":
/***********************************************
* SLOVENSKY
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Nebol nastaveny narod - chod na profil";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Meboli nastavene suradnice tvojej dediny - chod na profil";
t['Set as reference village'] = "Nastaviť ako referenčnú dedinu";
t['Unset as reference village'] = "Odstrániť referenčnú dedinu";
t['distance'] = "Vzdialenosť:";
t['time'] = "Čas: (hod)";

switch (race){
case 'Rimania':
units = new Array('Legionár', 'Pretorián', 'Imperián', 'E. Legáti',
'E. Imperatoris', 'E. Caesaris', 'Baranidlo', 'Katapult',
'Senator', 'Osadník');
speeds = new Array(6, 5, 7, 16, 14, 10, 4, 3, 4, 5); // Rimania
break;
case 'Germáni':
units = new Array('Pálkar', 'Oštepár', 'Sekera', 'Špeh', 'Rytier',
'Teuton', 'Baranidlo', 'Katapult', 'Vodca', 'Osadník');
speeds = new Array(7, 7, 6, 9, 10, 9, 4, 3, 4, 5); // Germani
break;
case 'Galovia':
units = new Array('Falanx', 'Šermiar', 'Sliedič', 'T. blesk', 'Druid',
'Haeduan', 'Baranidlo', 'Katapult', 'Nácelník', 'Osadník');
speeds = new Array(7, 6, 17, 19, 16, 13, 4, 3, 5, 5); // Galovia
break;
default:
alert("Problemy s detekciou naroda!");
}
break;

 
Abdullah AlOufi User

This is just a beta version. I need to check it in the game:
the URL is in this form: s*.travian.ae

/***********************************************
	 *Arabic
	 ***********************************************/
	t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
	    "قبيلتك غير معروفة - قم بزيارة بطاقة العضوية";
	t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
	    "لم يتم تحديد عاصمتك - قم بزيارة بطاقة العضوية";
	t['Set as reference village'] = "أجعل هذه القرية قريتي الرئيسية";
	t['Unset as reference village'] = "لا تجعلها قريتي الرئيسية";
	t['distance'] = "المسافة:";
	t['time'] = "الوقت (ساعة)";

	switch (race){
	case 'الرومان':
	    units = new Array('جندي أول', 'حراس الأمبراطور', 'جندي مهاجم', 'فرقة تجسس',
			       'سلاح الفرسان', 'فرسان قيصر', 'كبش', 'المقلاع الناري',
			       'حكيم', 'مستوطن');
	    speeds = new Array(6, 5, 7, 16, 14, 10, 4, 3, 4, 5); // Romans
	    break;
	case 'الجرمان':
	    units = new Array('مقاتل بهراوة', 'مقاتل برمح', 'مقاتل بفأس', 'الكشاف', 'مقاتل القيصر',
			       'فرسان الجرمان', 'محطمة الأبواب', 'المقلاع', 'الزعيم', 'مستوطن');
	    speeds = new Array(7, 7, 6, 9, 10, 9, 4, 3, 4, 5); // Teutons
	    break;
	case 'الإغريق':
	    units = new Array('كتيبة', 'مبارز', 'المستكشف', 'رعد الجرمان', 'فرسان السلت',
			       'فرسان الهيدوانر', 'محطمة الأبواب', 'المقلاع الحربي', 'رئيس', 'مستوطن');
	    speeds = new Array(7, 6, 17, 19, 16, 13, 4, 3, 5, 5); // Gauls
	    break;
	default:
	    alert("هنالك مشكلة في تحديد قبيلتك");
	}
	break;

 
Arandia Script's Author

Thanks both.

Loomy, I've been meaning to implement tournament squares for a while. Look for it shortly.

Abdullah, let me know whether it works when I get the translations up. The only part that could actually stop it from working would be getting the tribe names wrong - other than that, the worst that could happen is that it looks funny :P.

 
Abdullah AlOufi User

Can you plz give me the full code so I could test it and see if it needs any changes.

 
Arandia Script's Author

Latest version is up. Now supporting Tournament Squares (double-click on the table), using an image table (still have an option of text-based), and with merchant times.

 
banditsan User

LT servers race named in lower case on spieler.php. So with upper case names script don't work... add this fix on next release :)

    case "lt":
	/***********************************************
	 * Lithuanian
	 ***********************************************/
	t['tribe_type_not_found'] = "Distance_time_calculator klaida:\n\n"+
	    "Negaliu nustatyti jūsų genties - eikite į savo profilio puslapį";
	t['home_village_not_found'] = "Distance_time_calculator klaida:\n\n"+
	    "Nėra įrašo apie jūsų kaimą - eikite į savo profilio puslapį";
	t['Set as reference village'] = "Nustatyti kaip numatytąjį miestą";
	t['Unset as reference village'] = "Pašalinti kaip numatytąjį miestą";
	t['distance'] = "Atstumas";
	t['time'] = "Laikas: (hrs)";

	switch (g_tribe){
	case 'romėnai':
	    g_units = new Array('Legionierius', 'Pretorionas', 'Imperionas', 'Raitas legatas',
			      'Imperatoriaus raitelis', 'Cezario raitelis', 'Mūradaužys', 'Ugnies katapulta',
			      'Senatorius', 'Kolonistas');
	    g_tribe_num = 0;
	    break;
	case 'germanai':
	    g_units = new Array('Pėst. su kuoka', 'Ietininkas', 'Pėst. su kirviu', 'Žvalgas', 'Paladinas',
			      'Germanų raitelis', 'Taranas', 'Katapulta', 'Germanų vadas', 'Kolonistas');
	    g_tribe_num = 1;
	    break;
	case 'galai':
	    g_units = new Array('Falanga', 'Pėst. su kardu', 'Pėdsekys', 'Raitas perkūnas', 'Raitas druidas',
			      'Raitas hedujas', 'Taranas', 'Trebušetas', 'Kunigaikštis', 'Kolonistas');
	    g_tribe_num = 2;
	    break;
	default:
	    alert("Problema nustatant gentį!");
	}
	break;

 
Arandia Script's Author

Hi Banditsan,

Thanks for the fix. Thought they all used capitals... anyways, all good now.

 
Jhesthee A. ... User

case "ph":

/***********************************************
* TAGALOG
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Hindi malaman ang uri ng iyong tribo - pakibisita ang iyong profile ";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Walang nakatalang lokasyon ng iyong baryo - pakibisita ang iyong profile";
t['Set as reference village'] = "Gawing palatandaang baryo";
t['Unset as reference village'] = "Alisin bilang palatandaang baryo";
t['distance'] = "Layo:";
t['time'] = "Oras: (oras)";
t['Reload Tribe'] = 'Ibalik ang Tribo;
t['Merchant'] = 'Mangangalakal';
t['What level is your Tournament Square?'] = 'Anong antas ng iyong Praktisan?';

switch (race){
case 'Mga Romano':
units = new Array('Legionnaire', 'Praetorien', 'Imperian', 'E. Legati',
'E. Imperatoris', 'E. Caesaris', 'Ram', 'Fire Catapult',
'Senator', 'Settler');
g_tribe_num = 0;
break;
case 'Mga Teutono':
units = new Array('Maceman', 'Spearman', 'Axeman', 'Scout', 'Paladin',
'T. Knight', 'Ram', 'Catapult', 'Chieftain', 'Settler');
g_tribe_num = 1;
break;
case 'Mga Gaul':
units = new Array('Phalanx', 'Swordsman', 'Pathfinder', 'TT', 'Druidrider',
'Haeduan', 'Ram', 'Trebuchet', 'Chief', 'Settler');
g_tribe_num = 2;
break;
default:
alert("Mga problema sa pag-alam ng iyong tribo!");
}
break;

 
Arandia Script's Author

Got Tagalog, thanks

 
Janez89 User

case 'hu':
	/***********************************************
	 * Hungarian (Magyar)
	 ***********************************************/
	debug(d_med, "Hungarian");

	t['tribe_type_not_found'] = "Távolság számítási hiba:\n\n"+
	    "Nincs megállapítva az ön törzse - Kérem látogassa meg a profilját";
	t['home_village_not_found'] = "Távolság számítási hiba:\n\n"+
	    "Nincs megállapítva az ön faluinak koordinátái - Kérem látogassa meg a profilját";
	t['Set as reference village'] = "Beállítás kiinduló faluként";
	t['Unset as reference village'] = "Beállítás megszüntetése";
	t['distance'] = "Távolság";
	t['time'] = "Idő: (óra)";
	t['Reload Tribe'] = "Törzsek újratöltése";
	t['Merchant'] = 'Kereskedő';
	t['What level is your Tournament Square?'] = 'Milyen szintű az ön gyakorlótere?';

	switch (g_tribe){
	case 'Római':
	    g_units = new Array('Légiós', 'Testőrség', 'Birodalmi', 'E. Legati',
				'E. Imperatoris', 'E. Caesaris', 'Faltörő kos', 'Tűz katapult',
				'Szenátor', 'Telepes');
	    g_tribe_num = 0;
	    break;
	case 'Germán':
	    g_units = new Array('Buzogányos', 'Lándzsás', 'Csatabárdos', 'Felderítő', 'Paladin',
				'Teuton Lovag', 'Faltörő kos', 'Katapult', 'Törzsi vezető', 'Telepes');
	    g_tribe_num = 1;
	    break;
	case 'Gall':
	    g_units = new Array('Phalanx', 'Kardos', 'Felderítő', 'Theutat Villám', 'Druida lovas',
				'Haeduan', 'Falrombóló', 'Harci-katapult', 'Főnök', 'Telepes');
	    g_tribe_num = 2;
	    break;
	default:
	    alert("Törzs detektálása! Törzs = "+g_tribe);
	}
	break;

 
Arandia Script's Author

Got Hungarian, thanks.

 
w1ndfly3r User

case "id":
/***********************************************
* Indonesian
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Could not find your tribe type - please visit your profile page";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"No record of your home village location - please visit your profile page";
t['Set as reference village'] = "Set as reference village";
t['Unset as reference village'] = "Unset as reference village";
t['distance'] = "Distance";
t['time'] = "Time: (hrs)";
t['Reload Tribe'] = "Reload Tribe";
t['Merchant'] = 'Merchant';
t['What level is your Tournament Square?'] = 'What level is your Tournament Square?';

switch (g_tribe){
case 'Romawi':
g_units = new Array('Legionnaire', 'Praetorian', 'Imperian', 'E. Legati',
'E. Imperatoris', 'E. Caesaris', 'Battering Ram', 'Fire Catapult',
'Senator', 'Settler');
g_tribe_num = 0;
break;
case 'Teuton':
g_units = new Array('Clubswinger', 'Spearman', 'Axeman', 'Scout', 'Paladin',
'Teutonic Knight', 'Ram', 'Catapult', 'Chief', 'Settler');
g_tribe_num = 1;
break;
case 'Galia':
g_units = new Array('Phalanx', 'Swordsman', 'Pathfinder', 'Theutates Thunder', 'Druidrider',
'Haeduan', 'Ram', 'Trebuchet', 'Chieftain', 'Settler');
g_tribe_num = 2;
break;
default:
alert("Issues in tribe detection! Tribe = "+g_tribe);
}
break;

 
WA User

Here is the swedish translation. One question, do I need to have the swedish version installed before it can detect wich tribe I've got on swedish servers?

/***********************************************
* SWEDISH
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Kunde inte finna din stamtyp - var god besök din profil";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"Inget minne av din hembys position - var god besök din profil";
t['Set as reference village'] = "Ange som referens-by";
t['Unset as reference village'] = "Ta bort som referens-by";
t['distance'] = "Avstånd:";
t['time'] = "Tid: (hrs)";
t['Reload Tribe'] = 'Ladda om stam';
t['Merchant'] = 'Köpman';
t['What level is your Tournament Square?'] = 'Vilken nivå är din tornerplats?';

switch (race){
case 'Romare':
units = new Array('Legionär', 'Praetorian', 'Imperiesoldat', 'Spårare',
'Imperieriddare', 'Ceasarriddare', 'Murbräcka', 'Eldkatapult',
'Senator', 'Nybyggare');
g_tribe_num = 0;
break;
case 'Teutons':
units = new Array('Klubbman', 'Spjutman', 'Yxman', 'Scout', 'Paladin',
'Germansk Knekt', 'Murbräcka', 'Katapult', 'Stamledare', 'Nybyggare');
g_tribe_num = 1;
break;
case 'Gauls':
units = new Array('Falanx', 'Svärdskämpe', 'Spårare', 'Theutates Blixt', 'Druidryttare',
'Haeduan', 'Murbräcka', 'Krigskatapult', 'Hövding', 'Nybyggare');
g_tribe_num = 2;
break;
default:
alert("Problem med upptäckning av stam!");
}
break;

 
WA User

Here is a croatian translation. Though I was too lazy to translate anything else than the tribes. The rest isn't important for the script functions, is it?

/***********************************************
* TRIBES IN CROATIAN
***********************************************/
t['tribe_type_not_found'] = "Distance_time_calculator error:\n\n"+
"Could not find your tribe type - please visit your profile page";
t['home_village_not_found'] = "Distance_time_calculator error:\n\n"+
"No record of your home village location - please visit your profile page";
t['Set as reference village'] = "Set as reference village";
t['Unset as reference village'] = "Unset as reference village";
t['distance'] = "Distance:";
t['time'] = "Time: (hrs)";
t['Reload Tribe'] = 'Reload Tribe';
t['Merchant'] = 'Merchant';
t['What level is your Tournament Square?'] = 'What level is your Tournament Square?';

switch (race){
case 'Rimljani':
units = new Array('Legionnaire', 'Praetorien', 'Imperian', 'E. Legati',
'E. Imperatoris', 'E. Caesaris', 'Ram', 'Fire Catapult',
'Senator', 'Settler');
g_tribe_num = 0;
break;
case 'Teutonci':
units = new Array('Maceman', 'Spearman', 'Axeman', 'Scout', 'Paladin',
'T. Knight', 'Ram', 'Catapult', 'Chieftain', 'Settler');
g_tribe_num = 1;
break;
case 'Gali':
units = new Array('Phalanx', 'Swordsman', 'Pathfinder', 'TT', 'Druidrider',
'Haeduan', 'Ram', 'Trebuchet', 'Chief', 'Settler');
g_tribe_num = 2;
break;
default:
alert("Issues in tribe detection!");
}
break;

 
Arandia Script's Author

Got Indonesian and Croatian.

@ WA - Thanks for the Swedish, but this script actually already has a Swedish translation. I noticed some of the words were slightly different; are there problems with the current translation that I should change?

The language needs to be supported before it will detect the tribe appropriately. But you're quite right, in order to work properly the only essential parts are the tribe names, the rest is really just aesthetics.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel