View Full Version : [fixed but still needs fixing in official release]GEM6.2.1 language problem
whismerhill Sep 21, 2009, 01:48 PM Hello,
I got a problem that I had no text in menus with GEM 6.2.1 & Bts 3.19 (no other mods used)
after a good amount of time trying to fix it, I changed language from french to english and boom it works
I looked around trying to find why french text isn't showing but in the files french text seems present
then I found this post
Some weeks or months ago, I played GEM 6.1 without problems. Now I tried 6.2.1 and this is my game screen. What can I do? BtS is 3.19, of course, and I deleted the old GEM folder.
Ok, I found the problem: If I set the language to English, then all menus are correct. Maybe you should display a warning for this issue. :)
source : http://forums.civfanatics.com/showpost.php?p=8325683&postcount=299
but it seems no one replied to it so I made a new thread to separate this issue from other things.
The only thing I saw is that searching for the word "<english>" through XML files doesn't give the same number of matches as the word "<french>". But I've been unable to see if this discrepancy correspond to anything and I wonder if it's really the problem here ...
I tested with other languages and it's the same thing.
Any help would be appreciated.
and as a worst case scenario, at least a reply that "nothing will be done", will also be appreciated.
Thanks for reading.
cheesemijit Sep 21, 2009, 03:01 PM Im Pretty sure this only supports english. try looking through the download info page or page 1 in the GEM main thread. Making mods multi languages is very hard work.
whismerhill Sep 21, 2009, 03:25 PM Im Pretty sure this only supports english. try looking through the download info page or page 1 in the GEM main thread. Making mods multi languages is very hard work.
:confused: only supports english ? but 6.1 supported multi-language :undecide:
I'm not asking for translation in fact, I would just like to have the game in french for the most part & leave what's not translated in english
I could even translate in french myself if I knew where to look...
whismerhill Sep 21, 2009, 03:33 PM ok I got an idea I searched for missing language tags in xml files & I fixed it :thumbsup:
once I knew how to search it was pretty easy to fix it.
strange how a few unrelated missing tags can mess everything up !!!
for those interested the missing tags are in : "RevolutionText_CIV4GameText.xml"
edit: search for line 2049 or "LOCAL_REV_INDEX_ADVISOR_SIMPLE"
and replace all the end of the file with this :
<TEXT>
<Tag>LOCAL_REV_INDEX_ADVISOR_SIMPLE</Tag>
<English>Local</English>
<French>Local</French>
<German>Local</German>
<Italian>Local</Italian>
<Spanish>Local</Spanish>
</TEXT>
<TEXT>
<Tag>DELTA_TREND_ADVISOR_SIMPLE</Tag>
<English>Trend</English>
<French>Tendance</French>
<German>Tendenz</German>
<Italian>Tendenza</Italian>
<Spanish>Tendencia</Spanish>
</TEXT>
<TEXT>
<Tag>REVOLUTION_INDEX_ADVISOR_SIMPLE</Tag>
<English>RevIndex</English>
<French>RevIndex</French>
<German>RevIndex</German>
<Italian>RevIndex</Italian>
<Spanish>RevIndex</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_FLAT</Tag>
<English>Flat</English>
<French>Plat</French>
<German>Flach</German>
<Italian>Piano</Italian>
<Spanish>Plano</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_IMPROVING</Tag>
<English>Improving</English>
<French>Amélioration</French>
<German>Verbessern</German>
<Italian>Migliorare</Italian>
<Spanish>Mejora</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_WORSENING</Tag>
<English>Worsening</English>
<French>Détérioration</French>
<German>Verschlechterung</German>
<Italian>Peggioramento</Italian>
<Spanish>Empeoramiento</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_RAPIDLY_WORSENING</Tag>
<English>Rapidly Worsening</English>
<French>Rapidement empirant</French>
<German>Schnell verschlechternd</German>
<Italian>Velocemente peggiorando</Italian>
<Spanish>Rápidamente empeorando</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_REVOLUTION_WATCH_ADVISOR_TITLE</Tag>
<English>Revolution Watch Screen</English>
<French>Revolution Watch Screen</French>
<German>Revolution Watch Screen</German>
<Italian>Revolution Watch Screen</Italian>
<Spanish>Revolution Watch Screen</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_CRITICAL</Tag>
<English>Critical</English>
<French>Danger</French>
<German>Gefahr</German>
<Italian>Il pericolo</Italian>
<Spanish>Peligro</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_POSITIVE</Tag>
<English>Good</English>
<French>Bon</French>
<German>Gut</German>
<Italian>Buon</Italian>
<Spanish>Bueno</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_HEALTH</Tag>
<English>Health</English>
<French>Health</French>
<German>Health</German>
<Italian>Health</Italian>
<Spanish>Health</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_BRIBE</Tag>
<English>Click to bribe </English>
<French>Click to bribe </French>
<German>Click to bribe </German>
<Italian>Click to bribe </Italian>
<Spanish>Click to bribe </Spanish>
</TEXT>
<TEXT>
<Tag>REVOLUTION_GRAPH_TITLE_SMALL</Tag>
<English>Revolt Instability</English>
<French>Revolt Instability</French>
<German>Revolt Instability</German>
<Italian>Revolt Instability</Italian>
<Spanish>Revolt Instability</Spanish>
</TEXT>
</Civ4GameText>
Genghis_Kai Sep 25, 2009, 05:36 AM sorry for the late reply. I am not checking this website regularly now.
In regards to language problem, I should have left that part everything untouch from vanilla BTS. However, since I don't have other languages version to test on, I have no clue what would cause the problem. (thats why I didn't reply to the previous person raised the issue).
One possible reason however, could be due to the fact that my computer is set to map unicode to Chinese by default (although I am using English Windows). Some English texts I typed, could possibly be considered as unicode in Chinese and would then corrupted if you load in different languages such as French.
Genghis_Kai Sep 25, 2009, 05:41 AM ok I got an idea I searched for missing language tags in xml files & I fixed it :thumbsup:
once I knew how to search it was pretty easy to fix it.
strange how a few unrelated missing tags can mess everything up !!!
for those interested the missing tags are in : "RevolutionText_CIV4GameText.xml"
edit: search for line 2049 or "LOCAL_REV_INDEX_ADVISOR_SIMPLE"
and replace all the end of the file with this :
<TEXT>
<Tag>LOCAL_REV_INDEX_ADVISOR_SIMPLE</Tag>
<English>Local</English>
<French>Local</French>
<German>Local</German>
<Italian>Local</Italian>
<Spanish>Local</Spanish>
</TEXT>
<TEXT>
<Tag>DELTA_TREND_ADVISOR_SIMPLE</Tag>
<English>Trend</English>
<French>Tendance</French>
<German>Tendenz</German>
<Italian>Tendenza</Italian>
<Spanish>Tendencia</Spanish>
</TEXT>
<TEXT>
<Tag>REVOLUTION_INDEX_ADVISOR_SIMPLE</Tag>
<English>RevIndex</English>
<French>RevIndex</French>
<German>RevIndex</German>
<Italian>RevIndex</Italian>
<Spanish>RevIndex</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_FLAT</Tag>
<English>Flat</English>
<French>Plat</French>
<German>Flach</German>
<Italian>Piano</Italian>
<Spanish>Plano</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_IMPROVING</Tag>
<English>Improving</English>
<French>Amélioration</French>
<German>Verbessern</German>
<Italian>Migliorare</Italian>
<Spanish>Mejora</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_WORSENING</Tag>
<English>Worsening</English>
<French>Détérioration</French>
<German>Verschlechterung</German>
<Italian>Peggioramento</Italian>
<Spanish>Empeoramiento</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_RAPIDLY_WORSENING</Tag>
<English>Rapidly Worsening</English>
<French>Rapidement empirant</French>
<German>Schnell verschlechternd</German>
<Italian>Velocemente peggiorando</Italian>
<Spanish>Rápidamente empeorando</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_REVOLUTION_WATCH_ADVISOR_TITLE</Tag>
<English>Revolution Watch Screen</English>
<French>Revolution Watch Screen</French>
<German>Revolution Watch Screen</German>
<Italian>Revolution Watch Screen</Italian>
<Spanish>Revolution Watch Screen</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_CRITICAL</Tag>
<English>Critical</English>
<French>Danger</French>
<German>Gefahr</German>
<Italian>Il pericolo</Italian>
<Spanish>Peligro</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_POSITIVE</Tag>
<English>Good</English>
<French>Bon</French>
<German>Gut</German>
<Italian>Buon</Italian>
<Spanish>Bueno</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_HEALTH</Tag>
<English>Health</English>
<French>Health</French>
<German>Health</German>
<Italian>Health</Italian>
<Spanish>Health</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_ADVISOR_BRIBE</Tag>
<English>Click to bribe </English>
<French>Click to bribe </French>
<German>Click to bribe </German>
<Italian>Click to bribe </Italian>
<Spanish>Click to bribe </Spanish>
</TEXT>
<TEXT>
<Tag>REVOLUTION_GRAPH_TITLE_SMALL</Tag>
<English>Revolt Instability</English>
<French>Revolt Instability</French>
<German>Revolt Instability</German>
<Italian>Revolt Instability</Italian>
<Spanish>Revolt Instability</Spanish>
</TEXT>
</Civ4GameText>
Ah, OK, didn't saw your reply before I type. I will make that fix in the next release.
whismerhill Sep 25, 2009, 08:51 PM One possible reason however, could be due to the fact that my computer is set to map unicode to Chinese by default (although I am using English Windows). Some English texts I typed, could possibly be considered as unicode in Chinese and would then corrupted if you load in different languages such as French.
Do you know what is the Chinese codepage ?
even though I fixed the original problem mentioned in this post, and GEM loads nicely I was fiddling with the files of the mod and one of them behaves very much like you said
loading & saving it right after changes the content & corrupt the file
My editor allows to select a codepage for opening/saving files, so that's why I'm asking
MoeSzyslak Sep 29, 2009, 02:54 PM Hi!
I play the game in German and changed my file according to your instructions.
Everything seems to be in German, but I get two errors during the start.
Genghis_Kai Sep 30, 2009, 04:25 AM Hi!
I play the game in German and changed my file according to your instructions.
Everything seems to be in German, but I get two errors during the start.
Just go to the specific file and specific line to find and fix the error. The error should be located within the line or the few lines above it and it is something like for example, missing a "\" or ">" at the end of a line.
|
|