Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 10 11 [12] 13 14 ... 17

Author Topic: Dwarf Fortress localization patch  (Read 105053 times)

ockmonek

  • Escaped Lunatic
    • View Profile
Re: Dwarf Fortress localization patch
« Reply #165 on: September 15, 2016, 07:45:14 am »

Works. :)
Thanks a lot.
Now, i will translate.....
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #166 on: September 15, 2016, 10:02:21 am »

@ockmonek.. you are @Maxxxel on Transifex? Because a few months ago he was the only translator in German. You can try find him. Regards

ockmonek

  • Escaped Lunatic
    • View Profile
Re: Dwarf Fortress localization patch
« Reply #167 on: September 16, 2016, 04:20:39 am »

No, i'm ockmonek there.
But I have wrote Maxxxel.

Transifex listed 24 german translators as german translators for Dwarf Fortress.  8)
Maybe i contact them too....  :)
Logged

Maxxxel18

  • Escaped Lunatic
    • View Profile
Re: Dwarf Fortress localization patch
« Reply #168 on: September 16, 2016, 05:17:40 am »

Sorry my private situation is currently very busy
But maybe this helps http://www.indiegameforum.de/viewtopic.php?f=14&t=135
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #169 on: November 16, 2016, 10:47:07 pm »

@insolor .. How to make-a-translation from a MAC? the tuto its only for window..

insolor

  • Bay Watcher
    • View Profile
    • My projects on the Github
Re: Dwarf Fortress localization patch
« Reply #170 on: November 17, 2016, 12:16:21 am »

@insolor .. How to make-a-translation from a MAC? the tuto its only for window..
You mean, make translation for mac version of DF? Currently there's no way to do this.
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #171 on: November 17, 2016, 07:08:52 am »

You mean, make translation for mac version of DF? Currently there's no way to do this.

Ok. Thanks for answer. Regards.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Dwarf Fortress localization patch
« Reply #172 on: November 17, 2016, 11:14:38 am »

You mean, make translation for mac version of DF? Currently there's no way to do this.

Ok. Thanks for answer. Regards.
Don't Mac executables have a "resource fork" that include all of the strings?  It might be possible to simply edit that (obviously on a copy of your DF).
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

insolor

  • Bay Watcher
    • View Profile
    • My projects on the Github
Re: Dwarf Fortress localization patch
« Reply #173 on: November 17, 2016, 03:59:22 pm »

You mean, make translation for mac version of DF? Currently there's no way to do this.

Ok. Thanks for answer. Regards.
Don't Mac executables have a "resource fork" that include all of the strings?  It might be possible to simply edit that (obviously on a copy of your DF).
Actually I don't know. The main problem here is that mac is absolutely foreign platform for me: I have not mac, I have no knowledges on executable file format (and on other technical details).
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #174 on: December 11, 2016, 11:10:42 pm »

I have a problem at the time of apply translation to the Dwarf Fortress executable:

Code: [Select]
D:\JUEGOS\DF\TRADUCIR HARDCODED>python dfrus.py -p "D:\JUEGOS\DF\PeridexisErrant's Starter Pack 0.43.03-r09\Dwarf Fortress 0.43.03\Dwarf Fortress.exe" -d dictionary.csv --codepage cp850
Loading translation file...
Traceback (most recent call last):
  File "dfrus.py", line 562, in <module>
    _main()
  File "dfrus.py", line 522, in _main
    trans_table = dict(trans_table)
  File "D:\JUEGOS\DF\TRADUCIR HARDCODED\patchdf.py", line 91, in load_trans_file
    for parts in reader:
  File "C:\Program Files\Python35\lib\codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 50: invalid start byte

This is the line 50 of my dictionary.csv:

Code: [Select]
Watch ,"Vigilar"
This did not happen a while ago, with earlier versions of .po  :(  :-\

insolor

  • Bay Watcher
    • View Profile
    • My projects on the Github
Re: Dwarf Fortress localization patch
« Reply #175 on: December 12, 2016, 03:13:58 am »

It complains about 50 position, probably the 50 character of the file. Is the csv file encoded in utf-8? Please attach the csv file, I will check it.
« Last Edit: December 12, 2016, 03:25:10 am by insolor »
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #176 on: December 12, 2016, 06:18:10 am »

There mi csv

https://drive.google.com/open?id=0B8b47oDt3w8kNnFFS21jaE1XY3M

Quote
NOTE: I had to change the first code, since I asked for the "codepage" as variable:

python po2csv.py po-filename.po dictionary.csv cp850

insolor

  • Bay Watcher
    • View Profile
    • My projects on the Github
Re: Dwarf Fortress localization patch
« Reply #177 on: December 12, 2016, 06:36:49 am »

python po2csv.py po-filename.po dictionary.csv cp850
Now dfrus needs utf-8, so codepage in the command must be utf-8. It also can be omitted (utf-8 will be used by default), but you need to update your copy of df-gettext-toolkit.
« Last Edit: December 13, 2016, 12:05:21 am by insolor »
Logged

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #178 on: December 12, 2016, 04:35:32 pm »

I can run the command now.. the code page was.. thanks!

Hessed.Elohim

  • Bay Watcher
  • Spanish Translator
    • View Profile
    • Spanish DF Wiki
Re: Dwarf Fortress localization patch
« Reply #179 on: December 14, 2016, 09:08:47 pm »

I translated the plain-text with the @TioFauna app but have been having problems running the game, it gets stuck when loading the saved game. I discovered that it is this file, any idea what the problem might be?

https://drive.google.com/open?id=0B8b47oDt3w8kZUR3R2tDTjhtSXM
Pages: 1 ... 10 11 [12] 13 14 ... 17