Translate
Preface
Since the creation of PotionProtect, I always wondered why there was a localization system if there is no way to implement it easily and transparently in the plugin. Why didn't anyone already created a localization system? Neither Bukkit itself, nor Essentials or any other plugins.
Description
Translate is back-end plugin meant for plugin developers and server administrators to localize plugins easily. It works great with Curse's localization system, since it's able to parse the exported languages.
How to install?
Translate install just like any other plugins. Simply put the "Translate.jar" file in your 'plugins' folder. After the first launch, Translate will create a 'Translations' folder in the 'plugins' folder. In this folder will be translation files for all of your currently installed plugins. For instance, Translate's own translation file looks like this :
CANTFINDPLUGIN = "Couldn't find any other plugins! What about checking http://dev.bukkit.org/ ?" FOUNDPLUGIN = "Found" CREATEDTRANSLATIONFROMJAR = "created file from jar." CREATEDTRANSLATIONFROMSCRATCH = "created file from scratch." LOADEDTRANSLATION = "loaded translation from file." FIRSTRUN = "Detected first run, creating own file from jar"
The caps on the left of a line is called a 'key'. The text between quotation marks is the translated sentence for a given key. Note the plugins you use must be localizable. If you aren't seeing any differences in the plugin or aren't seeing any keys in the plugin's translation file, consider posting a ticket on that plugin's BukkitDev page.
How to download a translation?
Go to the plugin's BukkitDev page. Then navigate to the 'Localization' tab, and click the 'Export' sub-tab. Choose 'Global Strings' as the export format, choose your language and set the other options to default. Copy and paste the resulting output to the choosed plugin's translation file in your server.
How to make my plugin localizable?
See this page for plugin developers.
Please update
Update plz
Missing Translation @ all Plugins :(
Essentials does have a localization :p http://wiki.ess3.net/wiki/Locale
I put the plugin in my folder but I only get 20 files without content. How to fix it?
Sometimes the plugin not load same string, so then my plugins get no Translations.
Please Optimize the plugin.
@Edit
He do not loads the first Line of the file. So I need to start on 2nd line
make an update please :)
I cannot find the "Localization" tab.
@kinoscorpia2
I have exactly the same problem. Are you using java7 or Debian squeeze too?
Hello everyone. I have the plugins 'SnowBaller' and im wondering how do make it stop saying,"no translations." Any help would be great. THX!!! -kino
Something I made for my personal plugin is that it detects from where the user is and sends then the correct message in the language if available. So not sure if this would be good. Maybe a feature-request. :P
This plugin is awesome, I never thought there was something like.
This work is incredible! It deserves more people to know it! Good work man keep going! I'll introduce this plugin to every server host I met!
@BlueProducer
Yes, you must install it.
@CoKoC
Ok this is great, right now i dont rly need it... But in the PotionProtect topic you say that we need it, should i install it? (I am sorry for my bad writeing, i am posting this from my phone, cuz i am not back home)
@BlueProducer
Summarizing, if you are speaking a foreign language, it will make your life easier to translate your plugins.
I am a bit dumb (alot) What is localize plugins used for ? I mean what will do ? XD i am sorry if this sounded rly stupid