MineLanguage - Make your plugins multilingual! Version: v0.1 Have you ever wanted to make your plugin multilingual? Well, then this is the plugin for you. This plugin provides you an API to translate your messages to the player's language. You can translate messages with just one line of code! The players just have to type "/setlang LANG" to set their language the first time they visit your server. Features: Translate your plugins to several languages Get messages in the player's language Enable only some Languages on your server Set your language with one command Download MineLanguage Source Code Wiki Installation Guide For information how to install MineLanguage, create locales, use it in your plugins... just visit the wiki. Changelog: Version 0.1 First release
Java has most of this functionality already in its ResourceBundle API. It would be nice if you could modify your plugin to work with that. For example, you could have methods to get and set a player's locale. Your /setlang method can call setPlayerLocale. If a plugin needed to send the player a message, it could call getPlayerLocale and load the resources itself.