Page 2 of 6

Re: [0.12.x] Boblocale: German/Russian localizations

Posted: Fri Mar 25, 2016 8:53 am
by Schlafendes Wiesel
Hello there,

i encountered a problem with the german localization. Solder and solder-alloy are just displayed as L. I tried to fix this by myself but everytime i changed something in the locale file nothing happend in game. Hopefully somebody have a solution. Thanks in advance.

Re: [0.12.x] Boblocale: German/Russian localizations

Posted: Fri Mar 25, 2016 2:57 pm
by bobingabout
Injen wrote:I have a problem, dont know really how to install localization.
According to the error message, the name of the zip file is wrong. Try extracting the folder inside the zip file into your mods folder instead, see if that helps.

edit: it looks like the file is named wrong completely...

First extract the file, then rename it to boblocale_0.12.1

it SHOULD be 0.12.3, but the info.json file lists it at 0.12.1, so...

I'm not the one in control of this mod, so I can't just fix it!
Schlafendes Wiesel wrote:Hello there,

i encountered a problem with the german localization. Solder and solder-alloy are just displayed as L. I tried to fix this by myself but everytime i changed something in the locale file nothing happend in game. Hopefully somebody have a solution. Thanks in advance.
That sounds like whoever did the german localisation update saved it in the wrong file encoding. Encoding apears to be critical for Factorio to be able to read it properly. I can't remember the exact coding it uses, but it's one of the UTF-8 variations.

Re: [0.12.x] Boblocale: Polish localizations

Posted: Sat Mar 26, 2016 1:13 pm
by dragon0303
Polish Pack
xganzx wrote: :arrow: www dropbox.com/s/bkxuo04czai3gc7/polish.rar?dl=0
Translation is very good, no problems with bob mod too :)

Re: [0.12.x] Boblocale: Polish localizations

Posted: Sat Mar 26, 2016 4:32 pm
by xganzx
dragon0303 wrote:Polish Pack
xganzx wrote: :arrow: www dropbox.com/s/bkxuo04czai3gc7/polish.rar?dl=0
Translation is very good, no problems with bob mod too :)
Good to know it's useful to someone.

btw. encoding must be (Win 65001) UTF-8 without BOM (very important WITHOUT BOM) no idea what's BOM, but there it is... you can check it in notepad replacement freeware called AkelPad

Re: [0.12.x] Boblocale: German/Russian localizations

Posted: Mon Mar 28, 2016 10:32 pm
by bobingabout
I use Sublime, and from memory, BOM has something to do with... "Bottom Order" something, which is basically the order you store your bytes.

the issue here is most likely that to github, it's just a text file, it can read and edit text files, therefore when you compile, it might not be using the correct file encoding, since to github, it's not a file, just a bunch of text.

Re: [0.12.x] Boblocale: German/Russian localizations

Posted: Tue Apr 05, 2016 10:54 am
by bobingabout
Okay, I released a new test release of the locale mod (After stumbling through it for an hour) that adds a polish translation (Posted earlier in this forum topic).

I updated the internal version number to 0.12.4, so that issue should have gone, but the file is still named boblocale-0.12.4 instead of boblocale_0.12.4, and I don't know how to tell github to use a specific encoding with it's text files...

so if anyone knows how to fix either of these errors (On github), let me know.

Re: [0.12.x] Boblocale: German/Russian localizations

Posted: Mon Apr 18, 2016 7:45 pm
by Xillian112
bobingabout wrote:
Schlafendes Wiesel wrote:Hello there,

i encountered a problem with the german localization. Solder and solder-alloy are just displayed as L. I tried to fix this by myself but everytime i changed something in the locale file nothing happend in game. Hopefully somebody have a solution. Thanks in advance.
That sounds like whoever did the german localisation update saved it in the wrong file encoding. Encoding apears to be critical for Factorio to be able to read it properly. I can't remember the exact coding it uses, but it's one of the UTF-8 variations.
If i change the encoding to UTF-8 it calls me __boblocale__/locale/de/bobassembly.cfg(1): "=" character not found in line ... Help ?

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Tue Apr 19, 2016 8:05 am
by bobingabout
I don't know what to say about that.

Line 1 is "[entity-name]", which is a header to say "Everything after this point is an entity", and shouldn't have a = in it.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Tue Apr 19, 2016 8:50 pm
by DjangoFett
The problem with the German translation does not originate from the boblocale mod but from bobelectronics itself. The bobelectronics_0.12.6/locale/de/bobelectronics.cfg file is encoded with iso-8859-15 and it seems the boblocale mod can not override this. I converted the file to UTF-8 and now the translation is working but still using the file supplied by bobelectronics not the one from boblocales.

I want to update the translation on github (and partially already have). How can I extract all translateable strings from bob's mods? Copy all the locale/en/*.cfg files?

Mabe an override is not possible so you either have to remove the locale files rom your mods or include the locales from boblocales into your mods.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Tue Apr 19, 2016 9:06 pm
by Xillian112
DjangoFett wrote:The problem with the German translation does not originate from the boblocale mod but from bobelectronics itself. The bobelectronics_0.12.6/locale/de/bobelectronics.cfg file is encoded with iso-8859-15 and it seems the boblocale mod can not override this. I converted the file to UTF-8 and now the translation is working but still using the file supplied by bobelectronics not the one from boblocales.

I want to update the translation on github (and partially already have). How can I extract all translateable strings from bob's mods? Copy all the locale/en/*.cfg files?

Mabe an override is not possible so you either have to remove the locale files rom your mods or include the locales from boblocales into your mods.
Every try to change or override or delete this locales does the same error...

Also egal ob ich das umschreibe oder die codierung ändere bzw wenn ich das öffne und nur so wieder abspeichere sagt er diesen fehler ... Ich kanns nicht von den einen in den anderen verschieben, ich kanns nicht umschreiben, ich kanns nicht löschen.... alles schon probiert =( Wenn du das Update fertig hast kannst du mir das bitte per PN mitteilen ? Wäre echt nett !

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Wed Apr 20, 2016 9:34 am
by bobingabout
DjangoFett wrote:The problem with the German translation does not originate from the boblocale mod but from bobelectronics itself.
...
Maybe an override is not possible so you either have to remove the locale files rom your mods or include the locales from boblocales into your mods.
Overide is not possible, deleting the locale\de folder from all of my mods is required, Some have been done, but not all. (the ones still have this in haven't been updated since before the boblocale mod was released)

Also, the original translations were not done by me either, I simply included something that someone else did in my mod.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Wed Apr 20, 2016 3:07 pm
by Xillian112
bobingabout wrote:
DjangoFett wrote:The problem with the German translation does not originate from the boblocale mod but from bobelectronics itself.
...
Maybe an override is not possible so you either have to remove the locale files rom your mods or include the locales from boblocales into your mods.
Overide is not possible, deleting the locale\de folder from all of my mods is required, Some have been done, but not all. (the ones still have this in haven't been updated since before the boblocale mod was released)

Also, the original translations were not done by me either, I simply included something that someone else did in my mod.
Delete all de locales worked. thanks =S

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Wed Apr 20, 2016 9:16 pm
by DjangoFett
I updated the German translation and initiated a pull request. I tested this with all bobsmods locally where I deleted all "de" localisation files.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Fri Apr 22, 2016 10:13 am
by Karosieben
DjangoFett wrote:I updated the German translation and initiated a pull request. I tested this with all bobsmods locally where I deleted all "de" localisation files.
Thanks a lot! Merged pull Request, new Version 0.12.5.


EDIT: Fixed some encoding stuff, everything should be UTF-8 now. new version 0.12.6

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Fri Apr 22, 2016 9:06 pm
by bobingabout
Karosieben wrote:EDIT: Fixed some encoding stuff, everything should be UTF-8 now. new version 0.12.6
Awesome. Did you, or can you also change the filename format from boblocale-0.12.x to boblocale_0.12.x?
I've seen some other mods that correctly use the underscore, but for some reason this uses the dash, and I have no idea how to fix it.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Mon Apr 25, 2016 6:40 am
by DjangoFett
Changing the dash to underscore for the automatically created release tarball/zip is not possible. But one should create a correct zip file before creating the release and attach the "underscore" zip as an asset to the release tag. This is how other mods do it I guess as they usually provide three links.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Mon May 02, 2016 9:39 am
by sore68
Hello there~

I translated about 90%? to Bob's mod in Korean.
But I do not know how to use Github.
So I replaced uploaded to Dropbox link.
I provide a link cfg and zip files through the Dropbox link.

+ Info.json in 0.12.6 file is incorrectly written as [0.12.5].

With Google Translation

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Mon May 02, 2016 9:39 am
by sore68

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Wed May 18, 2016 9:15 am
by Karosieben
bobingabout wrote:Awesome. Did you, or can you also change the filename format from boblocale-0.12.x to boblocale_0.12.x?
I've seen some other mods that correctly use the underscore, but for some reason this uses the dash, and I have no idea how to fix it.
DjangoFett wrote:Changing the dash to underscore for the automatically created release tarball/zip is not possible. But one should create a correct zip file before creating the release and attach the "underscore" zip as an asset to the release tag. This is how other mods do it I guess as they usually provide three links.
Done.


EDIT: 0.12.7 ist out, added korean translation by sore68.

Re: [0.12.x] Boblocale: German/Russian/Polish localizations

Posted: Sat May 28, 2016 9:11 pm
by noliVe
i want to help on the translation . how is it possible!?

English to German.

many words are missing