// MCTranslate | [1.19] | Automatically Translate Per Player \\ icon

// MCTranslate | [1.19] | Automatically Translate Per Player \\ -----

Chinese <-> Dutch <-> German <-> Spanish <-> English <-> Russian <-> Etc



HEAD NOTE: This plugin works but is currently just a very small project. If it catches reasonable attention I will work to improve it but as of now it is and will remain a small project with fairly basic features.

Purpose:
Chat messages are automatically translated per player. If a message is sent in a language which isn't a player's, the player will be sent a follow-up message containing the translated version which can be read upon hover over.

Requirements:
  • Java 8 (This means not Java 7)
Features:
  • Configurable:
    • Default language
    • Messages (w/ color code support)
  • Players Can Set Their Language
  • Players Can Disable Entirely
  • Per Player Functionality
  • NOTE: Keep in mind that if players have a different subcategory of the same language, such as one player using simplified Chinese (zh-CN) and another using traditional Chinese (zh-TW) and a third using Chinese in general (zh), they will ALL receive a follow-up translation message because technically their languages are NOT the same.
Sample:
Here, you can see a message sent by the English player which is automatically converted and shown on hover in a follow-up message to the Chinese player.
[​IMG]
Here, you can see a message sent by the Chinese player which is automatically converted and shown on hover in a follow-up message to the English player.
[​IMG]
Here, you can see a message sent by the Chinese player which is automatically converted and shown on hover in a follow-up message to the Japanese player.
[​IMG]
Here, you can see a message sent by the Spanish player which is automatically converted and shown on hover in a follow-up message to the German player.
[​IMG]
Here, you can see a message sent by the Dutch player which is automatically converted and shown on hover in a follow-up message to the Russian player.
[​IMG]

Commands:
  • "N/A Permission Node" - /setlanguage (language code) - Set your default language.
  • "N/A Permission Node" - /setlanguage toggle - Toggle translations on/off
The second argument should be a 'Language Code' from https://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm

Config Example(s):
Code (Text):

##########################################################
#                   MCTranslate Config                   #
##########################################################

Default_Language_Code: "en"
# This is the default language code. Codes found @
# https://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm
# Possible codes:
#- af
#- af-ZA
#- sq
#- sq-AL
#- gsw
#- gsw-FR
#- am
#- am-ET
#- ar
#- ar-DZ
#- ar-BH
#- ar-EG
#- ar-IQ
#- ar-JO
#- ar-KW
#- ar-LB
#- ar-LY
#- ar-MA
#- ar-OM
#- ar-QA
#- ar-SA
#- ar-SY
#- ar-TN
#- ar-AE
#- ar-YE
#- hy
#- hy-AM
#- as
#- as-IN
#- az-Cyrl
#- az-Cyrl-AZ
#- az
#- az-Latn
#- az-Latn-AZ
#- bn
#- bn-BD
#- bn-IN
#- ba
#- ba-RU
#- eu
#- eu-ES
#- be
#- be-BY
#- bs-Cyrl
#- bs-Cyrl-BA
#- bs
#- bs-Latn
#- bs-Latn-BA
#- br
#- br-FR
#- bg
#- bg-BG
#- my
#- my-MM
#- ca
#- ca-ES
#- ku
#- ku-Arab
#- ku-Arab-IQ
#- chr
#- chr-Cher
#- chr-Cher-US
#- zh
#- zh-CHS
#- zh-Hans
#- zh-CN
#- zh-SG
#- zh-CHT
#- zh-Hant
#- zh-HK
#- zh-MO
#- zh-TW
#- co
#- co-FR
#- hr
#- hr-HR
#- hr-BA
#- cs
#- cs-CZ
#- da
#- da-DK
#- prs
#- prs-AF
#- dv
#- dv-MV
#- nl
#- nl-BE
#- nl-NL
#- dz-BT
#- en
#- en-AU
#- en-BZ
#- en-CA
#- en-029
#- en-HK
#- en-IN
#- en-IE
#- en-JM
#- en-MY
#- en-NZ
#- en-PH
#- en-SG
#- en-ZA
#- en-TT
#- en-GB
#- en-US
#- en-ZW
#- et
#- et-EE
#- fo
#- fo-FO
#- fil
#- fil-PH
#- fi
#- fi-FI
#- fr
#- fr-BE
#- fr-CI
#- fr-CM
#- fr-CA
#- fr-CD
#- fr-FR
#- fr-HT
#- fr-LU
#- fr-ML
#- fr-MA
#- fr-MC
#- fr-RE
#- fr-SN
#- fr-CH
#- fy
#- fy-NL
#- ff
#- ff-Latn
#- ff-Latn-SN
#- gl
#- gl-ES
#- ka
#- ka-GE
#- de
#- de-AT
#- de-DE
#- de-LI
#- de-LU
#- de-CH
#- el
#- el-GR
#- kl
#- kl-GL
#- gn
#- gn-PY
#- gu
#- gu-IN
#- ha
#- ha-Latn
#- ha-Latn-NG
#- haw
#- haw-US
#- he
#- he-IL
#- hi
#- hi-IN
#- hu
#- hu-HU
#- is
#- is-IS
#- ig
#- ig-NG
#- id
#- id-ID
#- iu
#- iu-Latn
#- iu-Latn-CA
#- iu-Cans
#- iu-Cans-CA
#- ga
#- ga-IE
#- it
#- it-IT
#- it-CH
#- ja
#- ja-JP
#- kn
#- kn-IN
#- ks
#- ks-Arab
#- kk
#- kk-KZ
#- km
#- km-KH
#- quc
#- qut
#- qut-GT
#- quc-Latn-GT
#- rw
#- rw-RW
#- sw
#- sw-KE
#- kok
#- kok-IN
#- ko
#- ko-KR
#- ky
#- ky-KG
#- lo
#- lo-LA
#- lv
#- lv-LV
#- lt
#- lt-LT
#- dsb
#- dsb-DE
#- lb
#- lb-LU
#- mk
#- mk-MK
#- ms
#- ms-BN
#- ms-MY
#- ml
#- ml-IN
#- mt
#- mt-MT
#- mi
#- mi-NZ
#- arn
#- arn-CL
#- mr
#- mr-IN
#- moh
#- moh-CA
#- mn
#- mn-Cyrl
#- mn-MN
#- mn-Mong
#- mn-Mong-MN
#- mn-Mong-CN
#- ne
#- ne-IN
#- ne-NP
#- no
#- nb
#- nn
#- nb-NO
#- nn-NO
#- oc
#- oc-FR
#- or
#- or-IN
#- om
#- om-ET
#- ps
#- ps-AF
#- fa
#- fa-IR
#- pl
#- pl-PL
#- pt
#- pt-BR
#- pt-PT
#- pa
#- pa-Arab
#- pa-IN
#- pa-Arab-PK
#- quz
#- quz-BO
#- quz-EC
#- quz-PE
#- ro
#- ro-MD
#- ro-RO
#- rm
#- rm-CH
#- ru
#- ru-MD
#- ru-RU
#- sah
#- sah-RU
#- smn
#- smj
#- se
#- sms
#- sma
#- smn-FI
#- smj-NO
#- smj-SE
#- se-FI
#- se-NO
#- se-SE
#- sms-FI
#- sma-NO
#- sma-SE
#- sa
#- sa-IN
#- gd
#- gd-GB
#- sr-Cyrl
#- sr-Cyrl-BA
#- sr-Cyrl-ME
#- sr-Cyrl-CS
#- sr-Cyrl-RS
#- sr
#- sr-Latn
#- sr-Latn-BA
#- sr-Latn-ME
#- sr-Latn-CS
#- sr-Latn-RS
#- nso
#- nso-ZA
#- tn
#- tn-BW
#- tn-ZA
#- sd
#- sd-Arab
#- sd-Arab-PK
#- si
#- si-LK
#- sk
#- sk-SK
#- sl
#- sl-SI
#- so
#- so-SO
#- st
#- st-ZA
#- es
#- es-AR
#- es-VE
#- es-BO
#- es-CL
#- es-CO
#- es-CR
#- es-CU
#- es-DO
#- es-EC
#- es-SV
#- es-GT
#- es-HN
#- es-419
#- es-MX
#- es-NI
#- es-PA
#- es-PY
#- es-PE
#- es-PR
#- es-ES
#- es-ES
#- es-US
#- es-UY
#- sv
#- sv-FI
#- sv-SE
#- syr
#- syr-SY
#- tg
#- tg-Cyrl
#- tg-Cyrl-TJ
#- tzm
#- tzm-Latn
#- tzm-Latn-DZ
#- ta
#- ta-IN
#- ta-LK
#- tt
#- tt-RU
#- te
#- te-IN
#- th
#- th-TH
#- bo
#- bo-CN
#- ti
#- ti-ER
#- ti-ET
#- ts
#- ts-ZA
#- tr
#- tr-TR
#- tk
#- tk-TM
#- uk
#- uk-UA
#- hsb
#- hsb-DE
#- ur
#- ur-IN
#- ur-PK
#- ug
#- ug-CN
#- uz-Cyrl
#- uz-Cyrl-UZ
#- uz
#- uz-Latn
#- uz-Latn-UZ
#- ca-ES-valencia
#- ve
#- ve-Z
#- vi
#- vi-VN
#- cy
#- cy-GB
#- wo
#- wo-SN
#- xh
#- xh-ZA
#- ii
#- ii-CN
#- yo
#- yo-NG
#- zu

Help_Message: "The second argument should be a 'Language Code' from\nhttps://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm\nor 'toggle' to toggle translations off. Case sensitive."
#This is the message that gets sent when a player types
#/setlang or /setlanguage
#Use "\n" to start writing on the next line

ToggleOn_Message: "Translate messages has been toggled to: On"
#This is the message that gets sent when a player types
#/setlang toggle to toggle translations on.

ToggleOff_Message: "Translate messages has been toggled to: Off"
#This is the message that gets sent when a player types
#/setlang toggle to toggle translations off.

Error_Message: "That code is not supported"
#This is the message that gets sent when a player tries
#using an unsupported language code

Updated_Message: "Language Updated..."
#This is the message that gets sent when a player updates
#their language

##########################################################
#                        Version                         #
##########################################################

VERSION: 2
#Do not touch this. No touchy.
 

Donations: Support me (a college student) @
_- https://paypal.me/AaronSkeels -_​
Resource Information
Author:
----------
Total Downloads: 3,799
First Release: Jun 17, 2017
Last Update: Aug 21, 2022
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings