documentation/Creating your own translations
Each language is represented by a file in the KrimBuy/lang - Folder. By default en = English and de = Deutsch (German) are available.
The file consists of a mapping from language-tag to text in each line.
tag-name#tag-text
There are several formatting options avialable
tag-name#&7I am &la color and formatting code.\nAnd I'm a newline.\nI may address the player $player.
Each language-tags can have specific arguments which are supplied by the code.
tag-name#&3I have arguments: $1 is the value of the first argument, $2 the one of the second, ...
There are even conditionals
tag-name#There are conditionals. For example the evaluation whether argument 1 is 0 would be ^(eq|0|$1|It is|It isn't).
Each tag and its parameters are documented in this file: Your text to link here...
If you have created your own translation of the plugin for a new language, please feel free to contact us so that other people may benefit from your work too :)
Comments