Easily translate text for players who speak a different language! Translate grabs a player's language from their client settings (requires ProtocolLib!) or through a command and uses that to determine what language they see chats, server messages, and inventory GUI items in (1.9+. On 1.8, disable in config). When a player chats, it automatically translates it to the languages of the other players.
This plugin uses Microsoft's Translator API and needs API key(s) (requires a Microsoft account) to work. You can get an API key by following this (2,000,000 characters a month for free) and add it to the config, but Translate will automatically download a list of keys that I've provided and will be updating.
Configuration
default language: 'en' # The default language
bypass prefix: '>'
translate:
chat: true
server: true
inventory: true
messages:
change: '&aLanguage successfully changed to %name%.'
reset: '&aLanguage reset to %default%.'
invalid: '&cInvalid language. Possible choices:'
blacklist: # Uses regular expressions. You can test expressions or get help from http://regexr.com/
- '\/\w+' # Matches a forward slash (escaped with a back slash) followed by 1 or more alphanumeric characters
- '("|'').*\1' # Matches any character except line breaks within either double or single quotes (including the quotes, the quotes have to match)
debug: false
# keys: #Custom keys (only necessary if you want to use your own, it will automatically download a list of keys to use)
# '0':
# id: 'Tharsen'
# secret: '6mutEwVfEVk3S9nIdolEc9EdVVHANwNyW69H15ssB7c='
# '1':
# id: 'Rell1936'
# secret: 'ZiE7WrcOTj0QYuJsgan0PhQDRv2A34ZVIQKBWL7wS9o='
# '2':
# id: 'Faber1974'
# secret: 'So3rU12SPzo2xjIICgyTPEoYxSIkAIKgopS1NOO/3jA='
Use
Simply set your language in Minecraft's language settings and chat in your language! To bypass the translation, prefix your message with a ">".
(If image isn't showing, view it here)
Commands
/language Base command, opens language GUI menu when run without arguments
/language reset Resets to default language (set in config)
/language set <lang> Sets a player's language
Install
Simply drop this plugin (and ProtocolLib if you don't have it already) into your plugins folder and restart your server!
Optional: Translate works out of the box, but you can configure it to how you like it.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta