Fix setting language from options menu.
Only on Linux in this commit.
Fix windows build on minGW
Change language without restart
Fix build when LOCALIZE=0
Merge remote-tracking branch 'dda/pr/8407' into dda-master

* dda/pr/8407:
  Fix build when LOCALIZE=0
  Change language without restart
  Fix windows build on minGW
  Fix setting language from options menu. Only on Linux in this commit.