Languages and Translations

This plugin uses the LanguageAPI to support translations. You don't have to install that plugin to use the default language of English, but if you want to use other translations, setting your locale, you need to install the LanguageAPI plugin. The advantage is that, if multiple plugins support the LanguageAPI, you only need to one language command. Also supports players setting their own locale independent of the server's default.

I haven't quite finished adding support for all strings used by AntiFire. More will be coming in a future revision, if requested.

Commands

Set your locale with the following commands, taking a ISO 3-character language code:

  • /locale <ISO>: Sets your personal display language preference
  • /serverlocale <ISO>: Sets the default server display language preference

Adding Languages

Put the "lang-<ISO>.yml" file into the plugins/AntiCreeper3/languages/ folder.

Translating AntiFire

Here is "lang-eng.yml", the translation for the English language. The default file is also written to plugins/AntiFire/languages/lang-eng.yml if it didn't exist already.

extingRad: §4AntiFire§r: extinguished {0} blocks and {1} entities within {2} blocks of {3}
noLogBy: §4AntiFire§r: no entries in log by {0}
badName: §cbad player name '{0}'
unseenPlayer: '{0}' has never played before
burnList: Blocks below are burnable:
proofList: Blocks below are fireproof
invalid: §cinvalid value for {0}
otherExting: §4AntiFire§r: {0} extinguished fire around you
extingWorld:  §4AntiFire§r: extinguished {0} blocks and {1} entities in {2} chunks of {3}
noWorld: World '{0}' not found.
notOnline: Cannot find player '{0}' online

You can translate it into another language and save it as "lang-???.yml" where ??? is the 3-letter ISO language code for that language as can be found here: ISO 639-2 Lanugage Code List. In the case of languages with multiple 3-letter codes, you should save a copy as each code.

Please submit your translations here as a comment for others to use; I will note you as a Translator (which will appear in your Bukkit status) and I will also see about distributing with future versions. To submit translations, use the format below:

File name(s): lang-???.yml, lang-???.yml and so on for every multiple
<<code yaml>>
[contents of your lang-???.yml file]
<</code>>

Comments

Posts Quoted:
Reply
Clear All Quotes