# Basics

On first install, nightcore based plugins will generate default config files and extract premade translations into /lang/ directory.

Also, nightcore will try to download lang assets for your system language into /nightcore/lang/ directory:

  • Files with messages_ prefix contains translations for plugin's messages. Some of nightcore messages are shared with nightcore plugins.
  • Files with assets_ prefix contains translations for in-game objects, such as blocks, items. They are used in a lot of nightcore plugins.

# Setup Language

  1. Check out the /lang/ directory for available translations.
  2. Set desired translation code to the Plugin.Language field in the config.yml.

If you want to create a new translation, it's recommended to duplicate the original messages_en.yml lang file instead of translated ones.