Click or drag to resize

ObjectTr Method

Translates a message using translation catalogs configured in the Project Settings.

Only works if message translation is enabled (which it is by default), otherwise it returns the message unchanged. See SetMessageTranslation(Boolean).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string Tr(
	string message
)

Parameters

message
Type: SystemString

[Missing <param name="message"/> documentation for "M:Godot.Object.Tr(System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.Object.Tr(System.String)"]

See Also