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

Server I18n API

Server side standalone i18n system, for server side only mods.

261
1
Library
Utility
AboutChangelogVersions

Server I18n API

This is a server side only mod to provide i18n for server side only mods.

Language detection is automatically so players don't need to do anything.

This mod is not needed on client

Guide for developers

You need to put language jsons in data/<mod id>/lang/, in vanilla assets pack format.

The only API is ServerI18n class.

Examples:

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

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.1
1.20.6
1.20.4
1.20.1

Platforms

Fabric
Forge
NeoForge

Supported environments

Server-side

Links

Report issues View source Join Discord server
Donate on Ko-fiDonate on PatreonDonate

Creators

Code Of Ardonia
Code Of ArdoniaOrganization

Details

Licensed MIT
Published 3 weeks ago
Updated last week

Modrinth is open source.

main@9fd0f68

© 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.