Skip to content

Localization

Vortianski edited this page Nov 28, 2026 · 2 revisions

Localization

Guided allows you to translate guidebook names, category names, entry names, page text and supported tooltips using Minecraft language files.

Language files

To translate your guidebook, create a lang folder inside assets/<modid>/ and create a JSON file for each supported language.

For example, assets/example/lang/en_us.json:

{
    "book.example.name": "Guidebook",
    "book.example.intro": "<b>Welcome!</b>",
    "entry.example.welcome": "Welcome",
    "guided.example.book_id": "My First Guidebook"
}

Minecraft uses the selected language and falls back to English (en_us) for missing translations when available. In this example, entry.example.welcome will use its English translation when Russian is selected.

Translating guidebook content

To translate guidebook content, use translation keys instead of literal text in supported parameters.

Example book.json definition:

{
    "name": "book.example.name",
    "landing_text": "book.example.intro"
}

Translation takes place before text formatting, so you can use formatting tags inside your translations. For more information see Text Formatting.

Translating guidebook item names

Unlike the name parameter in book.json, which defines the name displayed inside the guidebook interface, the guidebook item's name uses a translation key generated from its book identifier.

The translation key follows this format:

guided.<namespace>.<book_id>
Book identifier Translation key
guided:default guided.guided.default
example:book_id guided.example.book_id
example:handbook guided.example.handbook

For example, to change the item name of example:book_id, add the following translation to assets/example/lang/en_us.json:

{
    "guided.example.book_id": "My First Guidebook"
}

This translation applies to the guidebook item in the inventory and does not change the name displayed inside the guidebook interface. You can use the same translation key as the name parameter in book.json if you want both names to match.

Applying translations

Press F3 + T to reload your resource packs after changing language files. You can test translations by changing the selected language in Minecraft.

Clone this wiki locally