Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App
Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
LocalizedBook

LocalizedBook

Adds an ability to localize hardcoded 'name', 'landing_text' and 'subtitle' values in Patchouli's book.json.

120
0
AboutChangelogVersions

LocalizedBook

Description

The LocalizedBook mod enhances your Minecraft experience by allowing the localization of hardcoded values such as 'name', 'landing_text', and 'subtitle' in Patchouli's book.json. This functionality is essential for modpack developers and content creators who wish to offer multilingual support for patchouli books from other mods that hardcode these values.

Features

  • Localize name, landing_text, and subtitle in Patchouli books.
  • Easy configuration using TOML format.
  • Default setting options to revert to original text.

Installation

  1. Install Fabric API/Forge and Patchouli mod.
  2. Download LocalizedBook and place it in your mods folder.
  3. Restart Minecraft to complete the installation.

Configuration

To configure your books for localization:

  1. Navigate to .minecraft\config\localizedbook\mainconfig.toml.
  2. Add your book entries under the format:
    "modid:bookid" = ["custom name or 'default'", "custom landing text or 'default'", "custom subtitle or 'default'"]
    You can also write translation keys there just like in Patchouli.

For example, to customize the Botania Lexicon:
"botania:lexicon" = ["Botania Guide", "Welcome to the world of Botania", "Your Guide to Botany and Magic"]

You can set any value to "default" to use the default value from the book.json.

Usage

After configuring your books, the changes will take effect in-game after you restart minecraft. Ensure that your book IDs are correctly entered to reflect the changes properly.

Enjoy a fully localized experience in your Minecraft modded environment!

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20.1

Platforms

Fabric
Forge

Supported environments

Client only
Singleplayer

Links

View source

Creators

marlester-dev
marlester-dev Member

Details

Licensed MIT
Published 6 months ago
Updated 6 months ago

Modrinth is open source.

new-project-page@ac78952

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.