Function GodotObject.tr

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.

String tr (
  const(String) message
) nothrow @nogc const;