Black Friday Bundles up to 67% off Everything else is 30% off. Ends December 3. See the bundles →

Plugins

Browse

Languages & Translations

Languages & Translations

View as Markdown ·

On this page

#Translations

Every line the plugin can print lives in one file:

PhoenixHolograms/translations/translations.en.yml

Messages to players, command replies, the lines of a new hologram, the countdown wording and the whole in-game editor are all in there. Edit it and run /pholo reload to apply the new text.

To stop a chat or console message from appearing at all, set it to '' (empty quotes).

#Translating the plugin

Everything sits under en at the top of the file. Translate the right-hand side and leave the keys and the placeholders alone. Anything wrapped in % is filled in by the plugin, so %hologram% and %player% have to survive the translation to keep working.

YAML
en:
  click:
    cooldown: "%prefix%&cWait &f%seconds%s&c before clicking again."

#Language

Editor > Settings > Language switches the plugin's messages and editor to another language straight away. The plugin ships with English and 20 translations: Arabic, Brazilian Portuguese, Chinese, Czech, Dutch, French, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swedish, Turkish and Vietnamese. The choice is kept as language in config.yml.

#Per-Player Texts

The texts section holds the texts for {lang:} tokens in hologram lines. Unlike the rest of the file, each player sees these in their own game language: add a translations.de.yml with a de section and its own texts, and German players get those. See Per-Player Language.

#The Prefix

%prefix% at the start of a message is replaced with the plugin-prefix line, so the prefix of every message is changed in one place. Remove %prefix% from a message to send that one without it.

#Dates and Countdowns

The tokens section sets the language of day and month names in {date:} tokens, as a language tag such as en-US or de-DE, and the wording of {countdown:} tokens for days, hours, minutes, seconds and once the date has passed.

#New Holograms and Leaderboards

The defaults section holds the lines a new hologram starts with, the first line of a new page, the text of a new line, and the title and row formats a new leaderboard starts with. Changing them only affects holograms made afterwards.

#Updating the plugin

New keys reach your file on their own, with their English default. Keys you already have are never touched, so a message whose default wording changed in an update keeps your old text.

My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping