Back to mods
Textualizer project artwork

Modrinth · Minecraft mod

Textualizer

A custom localization implementation for consistency between 1.8.9 - 1.21.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Textualizer release matches 1.8.9?

Updated 1 year ago
beta file 0.4.0+1.8.9-forge
Game version 1.8.9
Loader Forge

Textualizer 0.4.0+1.8.9-forge targets 1.8.9 with Forge. It must be installed on the client. Do not install it on the dedicated server. All 2 required mods have matching files.

Where it goes

Is Textualizer required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Textualizer 0.4.0+1.8.9-forge need?

0.4.0+1.8.9-forge on 1.8.9. Every mod below is checked against that same setup.

All 2 required mods have matching files

Install Textile, OmniCore first. We found matching files for this game-version and loader setup.

Textile Needed by Textualizer 0.4.0+1.8.9-forge
required
Matching file found Matched file: 0.25.0+1.8.9-forge
OmniCore Needed by Textualizer 0.4.0+1.8.9-forge
required
Matching file found Matched file: 0.51.0+1.8.9-forge

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Textualizer without breaking your instance.

Built for Textualizer 0.4.0+1.8.9-forge on 1.8.9. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.4.0+1.8.9-forge. It targets 1.8.9 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Textile, OmniCore first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.4.0+1.8.9-forge. It opens that exact file at the source.

About this project

What does Textualizer add?

Textualizer

A simple localization management library.

Features a Minecraft-specific implementation for mod developers, wrapping around Minecraft's own localization system.


Discord Badge
Ko-Fi Badge


For developers

Setup

You need to add it as a dependency in your build.gradle(.kts) file.

repositories {
    maven("https://maven.deftu.dev/releases")
}

dependencies {
    modImplementation("dev.deftu:textualizer:<VERSION>")
}

Replace <VERSION> with the version of the library you want to use.

Usage

You'll need to implement Language, LocalizationContext, and Localization in your project. This means you need to handle language metadata, translation loading, translation retrieval, placeholder replacement, and language switching.

Refer to the Minecraft-specific implementation for an example of how to do this.


For Minecraft mod users

Why do I need this?

Minecraft's (and Forge's) language management system is very buggy and inconsistent across several Minecraft versions. This library aims to provide a consistent and reliable way to manage translations in your mods.

Is it going to affect my FPS / performance?

No. The library doesn't add anything which would affect performance outside the initial loading of the translations and language switching.


For Minecraft mod developers

Setup

You need to add it as a dependency in your build.gradle(.kts) file.

repositories {
    maven("https://maven.deftu.dev/releases")
}

dependencies {
    modImplementation("dev.deftu:textualizer-<MINECRAFT VERSION>-<MOD LOADER>:<VERSION>")
}

Of course, replace <MINECRAFT VERSION> with the version of Minecraft you are developing for, <MOD LOADER> with the mod loader you are developing for, and <VERSION> with the version of the library you want to use.

Usage

Getting the current (selected in-game) language's context can be done like so:

import dev.deftu.textualizer.minecraft.MCLocalization;

LocalizationContext context = MCLocalization.current();

To obtain a translated string, you can use

import dev.deftu.textualizer.minecraft.MCLocalization;

LocalizationContext context = MCLocalization.current();
String text = context.get("com.example");

To obtain a translated string and replace your placeholders, you can use

import dev.deftu.textualizer.MCLocalization;

int number = 10;
LocalizationContext context = MCLocalization.current();
String text = context.get("com.example", number);


This project is licensed under LGPL-3.0.
© 2024 Deftu

Project description from Modrinth.

Pick your setup

Textualizer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

34 available setups

Showing the newest 12 of 16 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Textualizer versions and loaders

7 of 100 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.