Open
Description
If you change the language using the in-game dropdown, you must restart the game to make it take effect.
This is a task to make the change take effect without restarting the game if possible. If it is not possible, we could also make the dropdown initiate (or request) a game restart.
Steps to reproduce:
- Press escape to view the main game menu
- Selection "Options"
- Under tab "Game" you will find a "Language" option with a dropdown. Select a different language.
- The language will not change until you restart the game.
Quintus has said Gettext requires the language to be set when it initializes the library. He thought the design of this feature might be related to this.
He hypothesized we might be able to use setlocale() followed by bindtextdomain().
The manual for gettext is at:
https://www.gnu.org/software/gettext/manual/gettext.html