Community ProtoFlux Library/AmasterAmaster/Utilities/Translate String

From Resonite Wiki
Revision as of 22:36, 23 August 2024 by AmasterAmaster (talk | contribs) (Created a page for the Translate String custom node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Translate String
*
OnTranslated
String
OnFail
Source
Data
Target
Amaster's Utility Library

The Translate String node takes in a string and uses an external service (script.google.com) to then translate it from one language to another (with a given source and target), then returns the translated string.

Inputs

* (Call)

Calls to start the translation process.

String (String)

The string to translate into another language.

Source (String)

The source language. (The default is en)

Target (String)

The target language. (The default is ja).

Outputs

OnTranslated (Continuation)

Fires when the string has been translated.

OnFail (Continuation)

Fires when this node fails to translate the string.

Data (String)

The translated string.