There is already Internationalization Library
But this translates the whole server, why not translate player specific?
The server could auto detect where the player lives.
Player specific Translation
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Player specific Translation
Server side translations only work (logically) for the entire server the same way.
Check out the lua_api.txt for how to provide client-side translations to 5.0.0(-dev) or later clients.
Check out the lua_api.txt for how to provide client-side translations to 5.0.0(-dev) or later clients.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: Player specific Translation
Is this client specific?
Can I Translate into multiple language?
Can I Translate into multiple language?
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Player specific Translation
Client-side translations are client specific and translated by the client because it's the client that client the client clients client client things and client adjust to the client language client. client. The server provides all available translations files to the client.
You can translate it into whatever language you want, as long the file is named correctly (see lua_api.txt).
You can translate it into whatever language you want, as long the file is named correctly (see lua_api.txt).
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Who is online
Users browsing this forum: No registered users and 5 guests