Translation

Go down

Translation

Post  zenanthor on Tue Sep 09, 2008 3:20 am

Sample on how easy it will be to translate pages

This file is named hitlist.php located in the eng folder under languages. The translator would simply change the text.


Code:

<?php
//Translation file
// HTML tags should be left as is (<strong> <i> <strike>)
define('_ENTERREASON','You need to enter a reason.');
define('_NOSUCHPLAYER','"No such player');
define('_NOMONEY','You do not have enough money.');
define('_SUREBUYOUT1','Are you sure you want to buy'); //Target name comes in between
define('_SUREBUYOUT2','off the hitlist for');
define('_YES','Yes');
define('_NO','No');
define('_BOUGHTOUT','You bought this player off the list');
define('_THEHITLIST','The Hitlist');
define('_TARGET','Target');
define('_BY','By');
define('_REASON','Reason');
define('_DATE','Date');
define('_AMOUNT','Contract Value');
define('_BUYOUTHIT','Buy Out Contract');
define('_IDUNKNOWN','-Identity Unknown-');
define('_HITLISTSOMEONE','Place a contract on someone');
define('_VICTIM','Victim');
define('_REWARD','Amount');
define('_SECRECY','Secrecy');
define('_YOURIDENTITYHIDDEN','Your identity hidden');
define('_YOURIDENTITYKNOWN','Your identity known to all');
define('_REASONFIELD','Reason');
define('_HITLISTBTN','Hitlist'); //The make hitlist button
define('_INFORMATION','Information');
define('_HINT1','When you hitlist someone, make sure you enter in their full username correctly');
define('_HINT2','It costs &pound;5,000,000 to hitlist someone, and have your identity hidden');
define('_HINT3','It costs &pound;100,000 to hitlist someone normally, and have your identity wide open to everyone');
define('_NOCONTRACTS','No contracts available');
?>

zenanthor
Admin

Posts : 48
Join date : 2008-09-05

View user profile http://elite.do-goo.com

Back to top Go down

Re: Translation

Post  zenanthor on Tue Sep 09, 2008 3:22 am

each player set their default language, if the script has not been translated yet, the english version will be shown

zenanthor
Admin

Posts : 48
Join date : 2008-09-05

View user profile http://elite.do-goo.com

Back to top Go down

Re: Translation

Post  zenanthor on Tue Sep 09, 2008 3:23 am

Same file in Norwegian

Code:

<?php
//Translation file
// HTML tags should be left as is (<strong> <i> <strike>)
define('_ENTERREASON','Du må skrive en grunn.');
define('_NOSUCHPLAYER','Ingen spiller ved det navnet');
define('_NOMONEY','Du har ikke nok penger');
define('_SUREBUYOUT1','Er du sikker på at du vil løse ut'); //Target name comes in between
define('_SUREBUYOUT2','fra kontrakten');
define('_YES','Ja');
define('_NO','Nei');
define('_BOUGHTOUT','Du kjøpte spilleren ut av listen.');
define('_THEHITLIST','Dusør Liste');
define('_TARGET','Mål');
define('_BY','Av');
define('_REASON','Begrunnelse');
define('_DATE','Dato');
define('_AMOUNT','Krontrakt Verdi');
define('_BUYOUTHIT','Kjøp ut kontrakt');
define('_IDUNKNOWN','-Identitet Ukjent-');
define('_HITLISTSOMEONE','Lag en kontrakt på noen');
define('_VICTIM','Offer');
define('_REWARD','Premie');
define('_SECRECY','Hold min identitet');
define('_YOURIDENTITYHIDDEN','Hemmelig');
define('_YOURIDENTITYKNOWN','Kjent for alle');
define('_REASONFIELD','Begrunnelse for kontrakt');
define('_HITLISTBTN','Signer Kontrakt'); //The make hitlist button
define('_INFORMATION','Informasjon');
define('_HINT1','Når du lager kontrakt på noen, vær sikker på at du skriver spiller navnet riktig');
define('_HINT2','Det koster &pound; 5.000.000 å ha din identitet hemmelig');
define('_HINT3','Det koster &pound; 100,000 å lage en kontrakt om identiteten din skal være kjent');
define('_NOCONTRACTS','Ingen kontrakter tilgjengelig');
?>

zenanthor
Admin

Posts : 48
Join date : 2008-09-05

View user profile http://elite.do-goo.com

Back to top Go down

Re: Translation

Post  zenanthor on Fri Sep 12, 2008 3:48 pm

You can download language files here

http://elitemafia.net/lol/lang.zip

Would be nice if someone cleaned the spelling, or if you know another language copy eng folder and start translating Smile

zenanthor
Admin

Posts : 48
Join date : 2008-09-05

View user profile http://elite.do-goo.com

Back to top Go down

Re: Translation

Post  bobton on Fri Sep 12, 2008 4:52 pm

i do not know how correct it is but i guess it is because its google it should be good - i will see what happens with it and then give you update on all the languages that it has translated to

bobton

Posts : 29
Join date : 2008-09-06

View user profile

Back to top Go down

Re: Translation

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum