ModsJava
XLang
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotXLang - Translating your chat to allow players to cross language barriers.
XLang uses the DeepL API in order to translate your messages asynchronously in real time as players chat.
Translation Modes:
- Translate Per Player Locale
- Server-Wide Translation
- Greek: EL - Swedish: SV
- German: DE - Spanish: ES
- Danish: DA - Russian: RU
- Slovak: SK - Italian: IT
- Lithuanian: LT - Hungarian: HU
- Dutch: NL - Finish: FI
- Chinese: ZH - Japanese: JA
- Estonian: ET - Slovene: SL
- English: EN-US - English: EN-GB
- Bulgarian: BG - Portuguese (All Variations Combined): PT-PT
- Polish: PL - Romanian: RO
- French: FR - Czech: CS
- Latvian: LV
Setup:
- Download and install the plugin into your 'plugins' folder. You must be running 1.17 or the latest version of 1.16.5. No other versions are supported at the moment.
- Run your server and allow it to download the language detection to your 'libraries' folder.
- Once the server has started you must go the the 'config.yml' and input your DeepL API Key, replacing the 'XXX'. If you choose to use the DeepL premium you must set this in the config as it uses a different API endpoint.
- In-Game, run '/xlang reload' in order to load the API token to start translating.
Commands:
/xlang:
-- reload -> Reloads the config for the plugin.
-- getUsedCharacters -> Returns your current usage for the DeepL api.
-- setTargetLanguage -> Sets the target language for when the translation mode is 'serverWide'
Takes an Argument of:
- [DEFAULT] -> EN-GB
- [GUI] -> Opens a GUI for you to choose
- Any of the provided language codes
- serverWide -> All messages will be translated to one language
- perPlayerLocale -> Messages will be translated to each player's locale individually or, they can set a custom one with '/setlanguage'.
-- reset -> Removes your custom language
-- setLanguage -> Opens the GUI so that you can choose your language
Permissions:
- XLang.* -> Grants access to all XLang commands
- XLang.setlanguage -> Grants access to do '/xlang setLanguage'
- XLang.setmode -> Grants access to do '/xlang setTranslationMode'
- XLang.getUsedCharacters -> Grants you access to do '/xlang' getUsedCharacters'
- XLang.reload -> Grants you access to do '/xlang reload'
- XLang.setPersonalLanguage -> Grants you access to do '/setlanguage' (defaults to everyone)
Features:
EssentialsX Chat integration - Keep your message formatting!
Custom Chat Colours in the config!
Advanced Chat Hovers for extra information:
GUI's for picking languages:
Config:
- 'deepl.apiKey' -> Your API key for DeepL
- 'deepl.premiumDeepl' -> Whether you are using Premium
- 'language.targetLanguageCode' -> The target language code for 'ServerWide' translations
- 'language.perPlayerLanguage' -> Whether or not it is translating per-player
- 'colour.ownMessageTranslatedColour' -> The colour of your own messages when they are translated (in hex)
- 'colour.messageTranslatedColour' -> The colour of a message when they have been translated (in hex)
- 'chat.addXLangTranslationComment' -> This will add some extra information to the logs when enabled
- 'chat.enableJoinMessage' -> This will send a message to the player when they join
- 'chat.joinMessage' -> The string of the join message to send. <lang> is a placeholder for the language code
- 'chat.translateJoinMessage' -> Whether or not the message should be translated
- 'chat.joinMessageDelay' -> The delay on the join message. Must be greater than 60 (in ticks).
- 'chat.hoverMessage' -> Whether to add the hover message on translated messages
- 'langDetector.enabled' -> Whether to enable the language detector, this will save translations on correct languages, but uses more memory
Support
If you need support or there are bugs head over to the support discord server here or make an issue on the GitHub Repository.
Happy Translating!
Ollie
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
XLang is a free Minecraft Java mod. Downloaded 379 times (via Spigot). Download it and open it directly in the game.