-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi language support (Localisation) #40
Comments
There isn't localization support for Mods currently, only of resources within Space Engineers. Issue #5, in the Seen update we will have to pass the last Localization used by a Player to the Server also, so any offline messages are formed correctly. |
I think we can not worry about this too much, the only localisation we realistically need is on the manual page, although our mod is basically english; the commands are basic enough that if someone pushes the current manual through google translate they should have no trouble. I think the mod is searching on item names as reported to it by the game anyway, which itself will be automatically localising them anyway, The only way we could conceivable improve on that is creating a bunch of alternate buy/sell commands in a variety of languages and keyboard maps and adding them to our command list. Potentially we could create a xml file that allows admins to localise it themself.. eg.. command to listen for, command to processes when that command used eg. when a french player types /prix the plugin checks the alias list, sees it relates to "/price" command and executes that code. realistically this creates an entire bucket of annoying issues such as rewriting our command catch engine to compare to a list and execute the correct routine, which for the time/benefit ratio is not really worth it. The new logic would need to be something like a regex that checks each command starts with / then looks up the first string in an xml list, and then passes all the parameters typed in via the regix to a routine for that function. It would require a time consuming rewrite of the entire plugin for only minor benefit. |
I'm re-opening this, mostly for my own self gratification, but also because I think we get get more people using this mod if we can at least cater to their language. |
Added new Config setting to allow the Server to specify the language. This affects: The name of components on LCD. The format of numbers and dates on LCD. The name of components when messages are sent back to Clients. Currently not affected: The formats of values and dates getting sent back to Clients. This does not affect: The identification of components on the Client.
By setting the
|
Ah, nice. So how would the end user/admin make use of this (or rather how do i describe it in the manual!) |
Fixed the LCD wide detection, as it isn't compatible with non-English localization.
We will have to add a command to change Configuration values at some stage. Currently: Modify your Economy Config file to add the
The following values are the only values accepted by the game. English = 0, |
for configuring in game - |
ive also added the localisation notes to steam guide |
I've removed the Chinese. It used to be in the old SE code. It's no longer there in current SE code. We need a general config command.
This should probably be part of #88 |
so keep set for stock related stuff, and econfig for behavioural settings basically? That could work. |
In the future, we will need to read server messages from a language config file. That way people can translate the messages eg error messages to their language that they read and write.
The text was updated successfully, but these errors were encountered: