Click or drag to resize
TranslationManagerDeclareTranslation Method
Associates an encoding and decoding pair with an identifier.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public static bool DeclareTranslation(
	string name,
	TranslationManagerStrEncoder encoder,
	TranslationManagerStrDecoder decoder
)

Parameters

name
Type: SystemString
Identifier of the translation.
encoder
Type: RW.Server.ComponentTranslationManagerStrEncoder
Encoder delegate.
decoder
Type: RW.Server.ComponentTranslationManagerStrDecoder
Decoder delegate.

Return Value

Type: Boolean
true if no such association with the same name has been previously registered; false otherwise.
See Also