Aurora 4x
C# Aurora => C# Approved Mods => Topic started by: twice2double on May 12, 2021, 09:02:20 PM
-
Locale is a simple patch that allows you to specify a culture/locale setting which Aurora will use.
Useful for people who don't want to change their system settings in order to play the game.
Installation
This patch requires the AuroraPatch runtime.
1) Download the latest release of AuroraPatch from it's GitHub releases page and dump the zip file contents in your Aurora folder: https://github.com/Aurora-Modders/AuroraPatch/releases
2) Download the attachment and extract it in your Aurora\Patches\ folder
Running
Run AuroraPatch.exe from inside the Aurora directory.
Use the "Change settings" button while the Locale patch is selected to change the desired culture/locale.
Changes
1.1.0.0 - Now supports Date/Time display format override.
1.0.0.0 - Initial release.
Code
AuroraPatch source code can be found here: https://github.com/Aurora-Modders/AuroraPatch
Locale source code can be found here: https://github.com/Aurora-Modders/Locale
-
Thanks for your work!
-
Unfortunately, it didn't help. Only the date format works
-
Thanks! With this I can finally let Aurora run in background all the time again without having to worry that everything else I start is in the wrong format. :)
One question though, currently it looks like I have to set it to enGB every time I start Aurora. Is there a way to make the setting stick?
-
One question though, currently it looks like I have to set it to enGB every time I start Aurora. Is there a way to make the setting stick?
It should auto-save your settings and load them up every time.
I've added an issue in the repository to test and address any issues with that mechanic.
-
So I may just be dumb, but it seems like the date is not applying properly for me. I have the date format set to MMMM dd, yyyy but in game it still shows up as dd MMMM yyyy.
Edit: On further exploration, it seems it applies properly everywhere but on the tactical map/event log.
-
There's a fix in the works for that. I've received a contribution from Stormtrooper in Discord to fix the issue (if you can compile the latest code you'll get the fix), however it's not as flexible as I would like it so I've been holding off on creating a release. Currently it will just duplicate the date format for the tactical map window and add the format of 'HH:mm:ss' at the end. However if the user's date format already has those values, the dates will show up wonky again. Just need a few cycles to fix it.
-
I'm well aware of this, but honestly don't see a reason why you'd bother. I know it's bugged if someone includes time together with date, but I think it's safe to be left that way - nobody would include hours in the default format IMO because then dates won't fit for example in research screen, which could be considered as another bug, this time straight from the game.
-
It doesn't seem to affect the date format for events.
-
What date format is the game expecting to exist, and does it cover both short and long dates?