Change Language

How to change plugin language

_____________________________

There is two ways to modify the messages of the plugin, either you want to change the language, so you need to extract the language file of the Notes.jar and place in the folder of this plugin, the language file are formated like: "lang_EN.yml"; "EN" is the initials of the language (Here "EN" for English). Now go in Config.yml and change value of "lang" to the initials of the language you want (ex: For French language set "lang" to "FR"), verify you have the file in the folder of the plugin. And finally type "/Notes Reload" to reload configuration, the plugin will be automatically load the language.

Or you want only to modify the plugin messages (ex: for RP), so to do that you have just to modify the message in your actual language file (lang_EN.yml by default), respect the formatting and modify only the messages. Then type "/Notes Reload lang" to force to reload the language file; usefull when you just modify a single message and you don't want to change language file.


NB: Note that you need to respect exactly variable in messages; don't miss space before and after, they would be replaced too. Do not add any entry or delete one.
If you want to translate the plugin to an no translated language, send me in PM the traduction, I would publish it in the jar with the next version.


Comments

Posts Quoted:
Reply
Clear All Quotes