%getTranslation()

Aliases%getTranslation( )
Parametersstring @speech, mobile @listener, mixed @language

    Returns the given @speech translated with regards to the @listener's
ability to undertand the specified @language. The value for @language may
either be the name of a language, the ID of a language, or a mobile. If
the @language is a mobile, then the language will be that mobile's
currently spoken language.

The following language names are currently possible:

common goblin
centaur halfling
dwarven orcish
elven reptilian
fairy trollish
gnomish


Example:
--------------------------------------------------------------------------

@speech = "You must leave this place at once!"

@translation = %getTranslation( @speech, @n, "orcish" )

$echoTo( "A voice booms all around you, '" @translation "'", @n )