Hi, I'm currently playing using the latest version of Simutrans (and Pak128.Britain). The currency displays as a '$' at the moment. I was wondering if it was possible to change this to a '£'. I tried looking around the various .tab files, but I haven't come across it anywhere yet.
This is currently hard-coded (https://github.com/simutrans/simutrans/blob/master/src/simutrans/utils/simstring.cc#L131), but this is not too difficult to make this configurable.
Shouldn't it be translateable? Or would that impact performance, since money is used so often?
Since most of it comes from the money to string, which obeys also predefined 000 separators, the impact would be minimal.
And now I'm tempted to start the emoji-language translation. :D
Quote from: Isaac Eiland-Hall on March 30, 2025, 01:48:50 AMAnd now I'm tempted to start the emoji-language translation. :D
Emojis, huh? That seems like a really cool idea to me, and with that we'd beat a lot of games that don't allow emojis in their chats. This is good for communicating with cultures that use other alphabets. 8)
r11667 has now a string CURRENCY which will translate to € or $ for most languages.
Would it be possible to have it as a parameterized string? Depending on the currency, it might be more common to append or prepend it - it's minor, but if not now, it will certaibly never be done down the line.
But then let it be to the user (see r11670).