TheRedM
TheRedM

Reputation: 102

Translate phrases and words in a code automatically

Is there a way to translate phrases and words in a script (pawn code) automatically without messing up the script, the script contains a lot of Russian it's hard to go through each word/phrase to translate it.

Upvotes: 0

Views: 63

Answers (1)

IS4
IS4

Reputation: 13207

Assuming you are working in SA-MP, there is a plugin allowing to interface with the DeepL API, allowing for translation of messages at runtime. You can hook SendClientMessage and similar functions to first translate the message, if needed.

Upvotes: 1

Related Questions