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...?
How can i translate the win32 server?
Posted by Lobonegro on Thu 03 Jan 2002 02:37 PM — 6 posts, 30,202 views.
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.
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.
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.
There are 384 socials to be changed like that.
5. Various other files have English in them, eg. herbs.dat, skills.dat ...
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!
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!
... Looks like you'll need it. ;)
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.
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.
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
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
if someone has the translated to spanish version of smaug for windows please can send it to me ??
pixanim@hotmail.com
pixanim@gmail.com
pixanim@hotmail.com
pixanim@gmail.com