Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Translation Guide

Daniel V edited this page Jun 5, 2019 · 1 revision

Translation Guide

The New Economy supports translations, as well as, multi-language support. In order to provide the end-user with the best experience, we try to provide community translated translation files. This guide is to explain what should be translated, and what should not.

Special Codes

The following are considered special codes, and should not be translated.

  • <aqua>
  • <black>
  • <blue>
  • <dark_aqua>
  • <dark_blue>
  • <dark_gray>
  • <dark_grey>
  • <dark_green>
  • <dark_purple>
  • <dark_red>
  • <gold>
  • <gray>
  • <grey>
  • <green>
  • <purple>
  • <red>
  • <white>
  • <yellow>
  • <magic>
  • <bold>
  • <strike>
  • <underline>
  • <italic>
  • <reset>
  • <newline>

In the following image, the special codes are outlined in red. Special Codes

Exceptions

Some words are surrounded by < >, and [ ] but are not classified as special codes. It is important to translate anything within < > and [ ] that is not listed above.

Variables

We use variables in our message file to allow for adding certain things into strings such as balances, usernames, etc. These are notated by a dollar sign("$") in front of the word. These should not be translated. In the following image, the variables are outlined in red. Variables

Configuration Nodes

Configuration nodes allow our YAML file to work as intended, and should not be translated. The following image shows an example of configuration nodes, outlined in red. Nodes

Commands

Commands are denoted by a backwards slash("/"), and should not be translated. They may be one word or multiple. The following image has all words outlined in red that should not be translated, which are classified as a command. Commands

What should be translated?

Any text that is not a Special Code, Variable, Command, or Configuration Node. Please see the sections above for what is classified as such.

Clone this wiki locally