Download Server I18n API — Minecraft Mods — MetaMods

Server I18n API

Active

Downloads

0

Last update

3 months ago

Versions

1.20.1 — 1.21.1
Server
Fabric
Forge
Neoforge
Libraries
Utils

Server I18n API

This is a server-side mod that provides internationalization (i18n) capabilities exclusively for modifications that operate on the server side.

Language detection happens automatically, so players don't need to perform any additional actions for it to work correctly.

Important note: This modification doesn't require installation on the client and functions exclusively on the server side.

Guide for developers

To integrate the localization system into your server-side mods, developers need to place language JSON files in the path data/<mod ID>/lang/, following the standard Minecraft resource pack format.

The main API is represented by the ServerI18n class with two key methods:

Text.literal(ServerI18n.translate(player,"translation key","arg1","arg2"))

ServerI18n.broadcast(server,"translation key","arg1","arg2")

Project members
IAFEnvoy

IAFEnvoy

Created: 7 Jun 2025

ID: 222420