Rich Translatable Text

Quick rating

Rich Translatable Text

No reviews yet

A mod that enables you to create localized text in rich text formatting.

API/Library
Mod Loaders
Forge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
RichTranslatableText-Forge-1.20.1-1.0.2.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Rich Translatable Text (RTT)

一个允许您以富文本格式创建本地化文本的模组
A mod that enables you to create localized text in rich text formatting.

功能 Features

  • 使用Minecraft的文本组件格式(Json)即可实现带样式的文本, 具体请看下方的Demo
    Styled text can be implemented using Minecraft's JSON text component format. See the demo below for details.
  • 可以修改原版中硬编码的可翻译文字并转换为富文本格式 (使用资源包)
    Hardcoded translatable text in Minecraft can be modified and converted to rich text format. (Use Resource packs)

对于模组开发者 For Mod Dev

  • 可以在 rich_lang 中修改富文本格式的本地化条目 无需修改代码 提升可修改性 减少工作量
    Rich text formatting localization can be modified in rich_lang without changing the code. enhanced modifiability ‌Reduce workload
  • 添加本Mod无需修改代码 只需要复制lang为rich_lang 只需要修改你需要修改的条目即可生效
    Adding this mod requires no code modification. Simply copy the 'lang' folder to 'rich_lang', and only edit the entries you need to change – they will take effect immediately.
  • rich_lang 兼容原版lang格式{String: String} 可以混合编写
    rich_lang maintains full compatibility with vanilla lang format {String: String}, allowing mixed usage in implementations.
  • 文件夹使用 rich_lang 而非原版的 lang 如果玩家未安装本模组也不会出现无法加载本地化翻译
    Using the 'rich_lang' folder instead of vanilla 'lang' ensures localization files still load normally even when this mod is not installed.

对于整合包开发者 For ModPack Dev

  • 可以在不修改Mod代码的情况下修改本地化条目并转换为富文本格式 可以定制独特整合包文本风格
    Localization entries can be modified and converted to rich text format without changing the Mod code, allowing for custom text styling in unique modpacks.

对于用户 For User

  • 可以用资源包去修改模组或原版中硬编码文本的风格 无需编写模组
    Resource packs allow modifying the styling of hardcoded text in mods or vanilla Minecraft. No mod coding required

Demo‌ :

/rich_lang/zh_cn.json

{
  "text.rich_translatable_text.test_lang": [{"text": "这是一个测试文本", "color": "#0000FF"}, {"text": "(模组Lang)", "color": "#00FF00"}]
}

Demo

显示优先度 Display priority

xxxx/rich_lang/xx.json > xxxx/lang/xx.json

命令 command

/rich_translatable_text log_test_text --> Print demo text

如果您有任何问题,请在Github上提出。
‌If you have any issues, please raise them on Github.

Rich Translatable Text (RTT)

一个允许您以富文本格式创建本地化文本的模组
A mod that enables you to create localized text in rich text formatting.

功能 Features

  • 使用Minecraft的文本组件格式(Json)即可实现带样式的文本, 具体请看下方的Demo
    Styled text can be implemented using Minecraft's JSON text component format. See the demo below for details.
  • 可以修改原版中硬编码的可翻译文字并转换为富文本格式 (使用资源包)
    Hardcoded translatable text in Minecraft can be modified and converted to rich text format. (Use Resource packs)

对于模组开发者 For Mod Dev

  • 可以在 rich_lang 中修改富文本格式的本地化条目 无需修改代码 提升可修改性 减少工作量
    Rich text formatting localization can be modified in rich_lang without changing the code. enhanced modifiability ‌Reduce workload
  • 添加本Mod无需修改代码 只需要复制lang为rich_lang 只需要修改你需要修改的条目即可生效
    Adding this mod requires no code modification. Simply copy the 'lang' folder to 'rich_lang', and only edit the entries you need to change – they will take effect immediately.
  • rich_lang 兼容原版lang格式{String: String} 可以混合编写
    rich_lang maintains full compatibility with vanilla lang format {String: String}, allowing mixed usage in implementations.
  • 文件夹使用 rich_lang 而非原版的 lang 如果玩家未安装本模组也不会出现无法加载本地化翻译
    Using the 'rich_lang' folder instead of vanilla 'lang' ensures localization files still load normally even when this mod is not installed.

对于整合包开发者 For ModPack Dev

  • 可以在不修改Mod代码的情况下修改本地化条目并转换为富文本格式 可以定制独特整合包文本风格
    Localization entries can be modified and converted to rich text format without changing the Mod code, allowing for custom text styling in unique modpacks.

对于用户 For User

  • 可以用资源包去修改模组或原版中硬编码文本的风格 无需编写模组
    Resource packs allow modifying the styling of hardcoded text in mods or vanilla Minecraft. No mod coding required

Demo‌ :

/rich_lang/zh_cn.json

{
  "text.rich_translatable_text.test_lang": [{"text": "这是一个测试文本", "color": "#0000FF"}, {"text": "(模组Lang)", "color": "#00FF00"}]
}

Demo

显示优先度 Display priority

xxxx/rich_lang/xx.json > xxxx/lang/xx.json

命令 command

/rich_translatable_text log_test_text --> Print demo text

如果您有任何问题,请在Github上提出。
‌If you have any issues, please raise them on Github.

Screenshots

Gallery

  • Output.png
    Output.png Output.png

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~12,000
Total Downloads
CurseForge
~6,000
Modrinth
~5,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works