Localizing Plugins

Discussion in 'Plugin Development' started by FrostDevStudios, Apr 4, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    FrostDevStudios

    Hello BukkitDev Community. I appreciate your time to look at this thread,

    I have wanted to add localization support for my current development build and have looked through the internet for a great an efficient way to create multilingual support. There are examples out there, but they don't provide explanations on what they're code is actually doing as well as explaining how to actually use customize their example code.

    If anyone has any good resources that can help me understand how to actually implement this feature to my plugins. It will be much appreciated.

    I want this to be done with .properties files

    P.S If anyone has an example they can explain to me that will be great! Also, I am not looking to copy and paste code since i'm genuinely interested in improving my skills.

    Thanks!
    ~FrostDevStudios
     
    Last edited: Apr 4, 2017
  2. If you want to add multilingual support to your plugins, all you really have to do is create a certain file, preferably a JSON file and separate the different responses based on the language they are. From there you could just use GSON to get the response from the JSON file.
     
  3. Offline

    FrostDevStudios

    Ok Thank you i will look into it!
     
Thread Status:
Not open for further replies.

Share This Page