From 0676c97342e63340eb3919fe18869db43d3c505b Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Thu, 15 May 2025 13:10:20 +0200 Subject: [PATCH] added translations section --- docs/src/content/docs/documentation/translations.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/src/content/docs/documentation/translations.md diff --git a/docs/src/content/docs/documentation/translations.md b/docs/src/content/docs/documentation/translations.md new file mode 100644 index 0000000..b68d855 --- /dev/null +++ b/docs/src/content/docs/documentation/translations.md @@ -0,0 +1,12 @@ +--- +title: Translations +description: How to translate enchantment names to other languages +--- + +## Translating enchantment names + +All enchantments are using minecraft's translatable components for their names. This means that you can use a resource +pack with a language file adding translations for the enchantments. Language will be picked based on the player's locale +and will default to capitalized default name in english if no translation is found. + +You can find translation keys for all the enchantments in the [enchantment list](/documentation/enchant-list/).