[DEV] MineLanguage v0.1 - Make your plugins multilingual [953]

Discussion in 'Inactive/Unsupported Plugins' started by pcfreak1997, Jul 9, 2011.

  1. Offline

    pcfreak1997

    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
     
    NuclearW likes this.
  2. Offline

    _ralts

    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.
     

Share This Page