Posted April 16, 20187 yr 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
April 16, 20187 yr 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?
April 16, 20187 yr 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?
April 16, 20187 yr 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.