Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Where is the language code stored at on the server I can get it on the client but, the server stores lang and stuff to so I need to know what language it's in. I already have a server only method ready I just need to know where it's stored

  • Author
Just now, diesieben07 said:

The server can only translate English.

what if you run your server jvm in russian isn't it in russian then? I looked at net.minecraft.util.text.translation.I18n and it was different from the client I18n it had a map<string,string> then a fallback map<string,string> for en us lang. Why would the server one have two maps if it doesn't translate?

  • Author
6 hours ago, diesieben07 said:

No. Minecraft server always runs in English.

 

This is so that the integrated server still uses the client's language.

that is really stupid that means for silkspawners on multiplayer it will only give people english because the event is on server what am I suppose to do about that?

If the mod runs on the client as well, you can use TextComponentTranslation if you use the chat, or handle translation on the client if it is client side code. Both methods will translate your strings to the language set in the client

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.