Mod

Server I18n API (Reborn)

Quick rating

Server I18n API (Reborn)

No reviews yet

26.1+ Port for Server I18n API

Mod Loaders
NeoForge
Fabric
Minecraft

Community voices

Reviews

Filter by exact patch versions
Loading exact 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

About

Project Details

Type
Mod
Latest Version
2.0.0-beta.1 for 26.1.x
Authors

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

Resources

External Links

Source Issues Wiki Discord

About

Description

Server I18n API (Reborn)

This is a server-side only mod API to provide I18n for server-side only mods.

Its a modding library; you won't expect any visual effect without installing dependents.

Language detection is automatic when sending message to player(s).

Upstream: CodeOfArdonia/ServerI18nAPI

This is a fork of Server I18n API for 26.1+ support.

Guide for developers

You need to put language JSONs in data/<mod id>/lang/<language>.json, filling in key-value pairs. Lang files in assets folders are ignored by ServerI18n.

API: ServerI18n.java class.

Examples:

// 1. Translate a key into a specific player's language with positional arguments
String msg = ServerI18n.translate(player, "chat.welcome", "Steve", 5);
// player's language (e.g., "zh_cn") -> "ๆฌข่ฟŽๅ›žๆฅ, Steve! ไฝ ๆœ‰5ๆกๆ–ฐๆถˆๆฏใ€‚"

// 2. Send a translated system message to the command source (player or console)
ServerI18n.sendMessage(stack, "foo.command.success", "backup.zip");
// If stack is a player, uses their language; otherwise falls back to en_us.

// 3. Get raw translation without applying String.format (e.g., for custom formatting)
String raw = ServerI18n.translateRaw("fr_fr", "bar.gui.button.confirm");
// raw = "Confirmer" (if exists), otherwise fallback to en_us or the key itself.

// 4. Broadcast a message to all online players using the server instance
ServerI18n.broadcast(server, "announcement.maintenance", "10:00", "12:00");
// Each player receives the message in their own language.

// 5. Use default language (en_us) explicitly for console or fallback
Component comp = ServerI18n.translateToLiteralDefault("baz.error.file_not_found", "config.yml");
// comp is a literal Component with English text: "File not found: config.yml"

Screenshots

Gallery

This project has no gallery images yet.

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

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync