[Sugesstion] Add Server Side Language Support
See original GitHub issueBeing able to check through code what language a player is using server side and being able to use lang files for easy mutli lingual support for server side related things like commands could be very beneficial. If a player doesn’t have fabric installed of course there would have to be something to default to so a default_language entry in the fabric.mod.json could be used for that to select what language to default to. For example:
{
"default_language": "en_us"
}
would default to English.
Having support of this level would allow developers to do a lot more with their server side mods, for example if it could be checked through code server side a mod developer could use that to:
- Automatically translate messages from other languages to the language you have selected in your settings.
- Add a prefix next to your name with the language you speak so other players know.
- Make chat rooms for each language and put you in your selected language by default.
and whatever else they’d like to do with that functionality.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Programming languages endorsed for server-side use at Meta
Meta's primary supported server-side languages are Hack, C++, Rust, and Python. For performance-sensitive back-end services, we encourage C++ ...
Read more >Introduction to the server side - Learn web development | MDN
Welcome to the MDN beginner's server-side programming course! ... languages — examples of popular server-side web languages include PHP, ...
Read more >5 top programming languages to learn server-side web ... - TWM
1. Node.js (JavaScript) · 2. PHP · 3. Java · 4. Ruby · 5. Python.
Read more >Top 5 Languages to Server-Side Scripting in 2022
Best Programming Languages: What Are They? As above-mentioned, our top 5 most popular server-side programming languages are Java, C#, PHP, ...
Read more >How can I create my own server-side language? - Quora
There are many good server-side languages. The most popular are PHP, Java, Scala, Python. The fastest-rising is Go. The best for employment opportunities...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a fundamental problem with your proposal.
The translation functionality of minecraft is not available on the dedicated server. i.e. The relevant minecraft classes are not in the server jar shipped by mojang.
Also, the language files themselves are stored in resource packs which never get processed by the server.
For server side translations for mods, Server Translation API exists