Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ How can i translate the win32 server?
How can i translate the win32 server?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Lobonegro
(6 posts) Bio
|
Date
| Thu 03 Jan 2002 02:37 PM (UTC) |
Message
| i want to change the text for the fight, etc, how can i change this(translate it to spanish) if i have the win32 version...?
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 03 Jan 2002 09:07 PM (UTC) Amended on Tue 20 Nov 2007 04:26 AM (UTC) by Nick Gammon
|
Message
| I was recently asked in an email about translating SMAUG to Russian, so I will reproduce my reply here ...
You could do it, but it would be a lot of work. You would need to translate:
1. Area files (these have descriptions of rooms, objects, monsters in them)
2. Various parts of the C code have English messages, eg.
magic.c: send_to_char( "Ok.\n\r", ch );*/
magic.c: send_to_char( "You like yourself even better!\n\r", ch );
magic.c: send_to_char( "I don't think so...\n\r", ch );
magic.c: send_to_char( "You feel charmed...\n\r", victim );
magic.c: send_to_char( "Ok.\n\r", ch );*/
magic.c: send_to_char ("Do you want it to get warmer, colder, wetter, "
magic.c: send_to_char( "It is unable to hold water.\n\r", ch );
magic.c: send_to_char( "It contains some other liquid.\n\r", ch );
You would need to translate those to Spanish. There are 3843 instances of send_to_char alone.
3. You can translate the commands easily enough by editing commands.dat, eg.
#COMMAND
Name answer~
Code do_answer
Position 104
Level 0
Log 0
Flags 1
End
In this case you would change the word "answer" to whatever the Spanish equivalent is.
There are 456 commands to be changed like that.
4. You can translate the "socials" (eg. smile) by editing socials.dat, eg.
#SOCIAL
Name smile~
CharNoArg You smile happily.~
OthersNoArg $n smiles happily.~
CharFound You smile at $M.~
OthersFound $n beams a smile at $N.~
VictFound $n smiles at you.~
CharAuto You smile at yourself.~
OthersAuto $n smiles at $mself.~
End
There are 384 socials to be changed like that.
5. Various other files have English in them, eg. herbs.dat, skills.dat ...
#HERB
Name breadl~
Type Herb
Flags 0
Target 3
Minpos 5
Slot 5
Code spell_smaug
Dammsg ~
Wearoff Everything about you takes on it's normal drab tone.~
Hitvict Life takes on a brighter, crisper outlook as you savor the breadl's
flavor.~
Hitroom $N smiles as $s enjoys the mellow flavor of the breadl.~
Affect '10' 0 '' 4194304
End
There are 6 herbs and 266 skills.
You can find the source at www.smaug.org or on my site at http://www.gammon.com.au/downloads/dlsmaug.htm
You can compile under Unix (eg. Linux) or Cygwin under Windows.
It can be done, but as you can see you will be spending a lot of time changing all those words.
Here is a web page from someone who is translating SMAUG to Russian:
http://www.shadow-lands.com/sml/1999/msg07332.html
Good luck! |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Mademoiselle
Australia (35 posts) Bio
|
Date
| Reply #2 on Thu 03 Jan 2002 10:54 PM (UTC) |
Message
| ... Looks like you'll need it. ;) | Top |
|
Posted by
| Axes
Chile (2 posts) Bio
|
Date
| Reply #3 on Fri 22 Apr 2005 10:55 AM (UTC) |
Message
| Recently i am downloading the Cygwin to compile the SMAUG.
I will follow those steps, and i will try translating to spanish.
I searched for SMAUG in spanish, but i not found it, by this, i wanna translated.
Thank you Nick G, for all the made work. I have been the whole day checking the forum and webpage, and there are many useful things.
|
Axes
[All is vanity -> All is Fantasy] | Top |
|
Posted by
| Dralnu
USA (277 posts) Bio
|
Date
| Reply #4 on Sat 23 Apr 2005 07:50 PM (UTC) |
Message
| Get it translated, see if you cann't get Mr. Gammon to put it up under the downloads section. I'm sure others would like it
Maybe finding a way to set an autotranslator so if someone sets their language to spanish, everything is spanish, and if they set it to English, it translates everything to Engligh would be nice. Though translating chat/say/ect. would be a bit tedious I would think | Top |
|
Posted by
| Pixanim
(1 post) Bio
|
Date
| Reply #5 on Sun 26 Jun 2005 11:17 AM (UTC) |
Message
| if someone has the translated to spanish version of smaug for windows please can send it to me ??
pixanim@hotmail.com
pixanim@gmail.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
24,053 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top