[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  How can i translate the win32 server?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

How can i translate the win32 server?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Lobonegro   (6 posts)  [Biography] 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...?
[Go to top] top

Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] 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
[Go to top] top

Posted by Mademoiselle   Australia  (35 posts)  [Biography] bio
Date Reply #2 on Thu 03 Jan 2002 10:54 PM (UTC)
Message
... Looks like you'll need it. ;)
[Go to top] top

Posted by Axes   Chile  (2 posts)  [Biography] 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]
[Go to top] top

Posted by Dralnu   USA  (277 posts)  [Biography] 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
[Go to top] top

Posted by Pixanim   (1 post)  [Biography] 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
[Go to top] 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.


6,100 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]