How do you use the localization feature?

Discussion in 'Plugin Development' started by MYCRAFTisbest, Jun 9, 2013.

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

    MYCRAFTisbest

    Hello. I noticed a large amount of people from Germany and Russia use my plugin RWtorchLight. To make the plugin more convenient for them, I thought that it would be a good Idea to create a rough translation using Google Translate.
    However, while doing this I had trouble and it seems it is more complicated then pasting text into a box. Can someone help guide me in the right direction or would be willing to do the translations for me?

    PLUGIN HERE

    Thanks

    (P.S. Is this post in the right place?)
     
  2. Offline

    caseif

    You could take a look at the localization class I made for one of my plugins. It basically reads the localization file line by line, splits each line at the "|" character, and checks the first index to see if it matches the given key. The format for each line is key|message.
     
Thread Status:
Not open for further replies.

Share This Page