Page 1 of 1

[Resolved] 0.2.10 german translation caused crash

Posted: Wed Mar 13, 2013 10:15 am
by drs9999
I am not sure if this is a bug or it is just the result ofmillions of cope+paste processes of the game-folder, but if I choose german as game-language I am not able to start the game again. Reason for that is that all language-files (except gui; gui-map-generator) are messed up.

It would be nice if anyone can proof that. ( You can change the language in the config.ini as well, so after testing it, you can change your language there and the game can be started again)

Edit: same for italian translation

Re: 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 6:42 am
by FreeER
Worked fine for me, so it would seem like your language files got messed up (try to reinstall, or grab language files from zip).
I was able to start a new game with both.

Re: 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 8:04 am
by drs9999
Nope,it isnt working.
I made a complete redownload and the specific files are messed up.

I forgot to say that I refer to the 32-Bit Windows *.zip package. maybe this is the only version which includes this

Re: 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 8:15 am
by FreeER
ah, i'm on 64-bit, I'll go ahead and test the 32bit but it'll take a few minutes to download :)

edit: 32-bit windows zip also worked fine for me. Loaded changed language to german, restarted and then started both the campaign and a new world fine. Same with italian. (to be sure i'm not making a mistake, I assume 'de' is german and 'it' is italian)

Re: 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 8:44 am
by FreeER
are the files actually corrupted as in "basic-mining-drill=Elektrischer Erzförderer" is unreadable or is the game reading the files wrong?

Re: 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 8:57 am
by drs9999
hmm...strange.. now it is working fine for me, too.
But anyway the specific files ( de/item-names.cfg for example) still looks messed up.

I will change the subject into "not a bug"

EDIT: to specify what I mean every other language will show me a list with the translations when i open them . The german item-names file show me all translations in a row without any space or other seperator-chars between the different items. BUT it is working. So like I said in the startpost: the error, that caused the game-crashes was probably the result of my many copy+paste processes of the game folder...

Re: [Not a bug] 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 9:04 am
by FreeER
what makes it look 'messed up'? maybe you could copy/paste some of it here and someone will recognize what's going on? or was :)

Re: [Not a bug] 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 9:09 am
by drs9999
I edited my previous post while you writing your answer...

Re: [Not a bug] 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 9:15 am
by FreeER
ah, lol. I'm going to guess that you are using windows default notepad as the editor? If so I'm fairly sure it's simply the fact that notepad will not display unix's lf newline symbol because windows uses cr+lf as it's newline symbol. I use notepad++ which can detect both just fine (plus has syntax highlighting :))

when I use windows's regular notepad the first line is

Code: Select all

[item-name]stone=Steinwood=Holzraw-wood=Unverarbeitetes Holzcopper-ore=Kupfererziron-ore=Eisenerzcoal=Kohlecopper-plate=Kupferplatte
rather than with notepad++

Code: Select all

[item-name]
stone=Stein
wood=Holz
raw-wood=Unverarbeitetes Holz
...
edit: not sure why certain files would be different but...that would be my guess as to why it looks messed up :)

Re: [Not a bug] 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 9:26 am
by drs9999
Yes :D

So I guess the reason why some files are displayed correclty some arent in the windows-editor is the fact that some translators used a windows editor and some used a different os-editor?

Re: [Not a bug] 0.2.10 german translation caused crash

Posted: Thu Mar 14, 2013 9:37 am
by FreeER
very probably :) if you download notepad++ and set factorio files up to open with it you won't have those problems :) notepad ++ even has the option to show you the newline (aka End-Of-Line) symbols that are normally hidden (there's button with a backwards P and extra line, pretty much like microsoft word has). on item-names for example notepad++ that shows LF (for line feed, the standard for *nix OSes) at the end of the line but for gui.cfg it shows CRLF which is the standard for windows (and the only thing that microsoft's notepad will detect). Mac on the other hand is typically CR.
CR=Carriage Return, LF=Line Feed, both are taken from the old days of type writers where a carriage return (i believe) would move the page down one line and line feed would move the ink stamper (whatever it's called) to the begining of the line :)