-
Notifications
You must be signed in to change notification settings - Fork 50
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.
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.
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.
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.
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.
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.
Any text that is not a Special Code, Variable, Command, or Configuration Node. Please see the sections above for what is classified as such.
xxxxxxxx