Languages

Currently available languages

GUI: 
    Czech cz
    German de
    English en
    Spanish es
    French fr
    Italian it
    Japanese jp
    Korean ko
    Dutch nl
    Portuguese pt
    Polish pl
    Russian ru
    Turkish tr
    Thai th
    Chinese zh_cn
Items: 
    English en
    Spanish es
    French fr
    Hebrew he
    Italian it
    Portuguese pt
    Russian ru
    Thai th
    Turkish tr
    Chinese zh_cn

How to change language?

config.yml
config_files:
  lang: 'en'
  dictionaries-lang: 'en'

Edit or to create new messages languages

The plugin messages language files are in this folder: plugins/ItemsAdder/lang/

You can edit your language file or create a new language file.

Edit or create items / assets language files

ItemsAdder uses "dictionaries" to translate items name and lore. You can create dictionaries in your namespace folder adding your keys there. In my case: contents/iasurvival/dictionaries/

Example

In this example I created two dictionaries: English and Italian. Then I reference the key in the item name.

dictionary_en.yml
info:
  namespace: test
  dictionary-lang: en
dictionary:
  name-my-custom-item: This is my custom item
dictionary_it.yml
info:
  namespace: test
  dictionary-lang: it
dictionary:
  name-my-custom-item: Il Mio Oggetto Modificato
items.yml
items:
  my_custom_item:
    name: name-my-custom-item
    resource:
      material: PAPER
      generate: false
      model_path: minecraft:item/diamond

Last updated

Was this helpful?