Home›Java›Mods›Triton - Translate Your Server | Skript integration
Triton - Translate Your Server | Skript integration
ModsJava

Triton - Translate Your Server | Skript integration

Java mod listed for Minecraft 1.9–1.18. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Download Triton:
Triton Website

Examples:
1: Translation
Code (YAML):
command /translate [<text>] [<text>]:
    trigger
:
       set {_t } to arg-1's translation in player's lang if arg-2 is not set
        set {_t } to arg-1's translation in player's lang with (split arg-2 at " " ) if arg-2 is set
        message "%{_t}%"
 
set {_t} to arg-1's translation in player's lang if arg-2 is not set
Click to expand...
is for arguments. You can give infinite arguments but the triton translation needs to contain those argument positions ( %1 %2 %3 etc.)

Command:
/translate test argument1 argument2
Click to expand...
test is my message key. argument1 and argument2 are my arguments

Result:
upload_2022-5-2_18-44-20.png

2: Get Player Language

Code (YAML):
command /langfrom [<offline player>]:
    trigger
:
       message player's lang
 
This expression will return the player's selected language as country code.

Command:
/langfrom schrill
Click to expand...
German is my currently selected language so the result is de_DE

Result:
upload_2022-5-2_19-2-28.png


3: Set Player Language

Code (YAML):
command /langfrom [<offline player>]:
    trigger
:
       set player's lang to "en_GB"
        message player's lang
 
This effect will change the player's current language without needing to rejoin or to reload something.

Command:
/setlang schrill
Click to expand...
German is my currently selected language but I changed it to en_GB so the result is en_GB now

Result:
New language:
upload_2022-5-2_19-8-23.png
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Triton - Translate Your Server | Skript integration is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 192 times (via Spigot). Download it and open it directly in the game.

Explore more