Androrc the Orc
Emperor
So, basically what I want is that the game language change depending on the civilization being played. For instance, when playing Austria the game language should be German. So, I added an "iLanguage" field for civilizations, and then in CvPlayer.cpp added this right in the start of SetTurnActive (so that when the player's turn starts, the correct language is set):
It isn't working correctly though, and when I manually change the language to something else, it is set back to English at the start of the turn, even though it should set it to German.
Code:
gDLL->setCurrentLanguage(GC.getCivilizationInfo(getCivilizationType()).getLanguage());
It isn't working correctly though, and when I manually change the language to something else, it is set back to English at the start of the turn, even though it should set it to German.