The Dink Network

Adding Translations

GNU FreeDink

June 19th 2014, 10:28 AM
spike.gif
How do you add translations to the game? I noticed someone translated Dink to Finnish, which would be fun to try. (Someone even translated the game in Esperanto. ) After skimming over the few instructions, it's only stuff concerning adding translations using third party programs.

Is there no simpler way to do this?
June 19th 2014, 10:36 AM
wizardg.gif
leprochaun
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
go into each script and edit the say() lines yourself? That's quite a hassle though.
June 19th 2014, 11:13 AM
spike.gif
Yeah, no. I might just as well translate the game again myself while doing that.

But when the translations are already done, there's no good reason why adding them should be a hassle. Looking at the freedink\dink\lion folder, Beuc's added some translations directly to FreeDink. If that's the plan for all of them, he seems to be lagging behind. Still, it doesn't make sense to me that the guys who did the translations seemingly couldn't be bothered so little as to upload easily enablable versions somewhere themself.
June 19th 2014, 07:31 PM
spike.gif
I couldn't wait and caved and downloaded Poedit and created the mo file that was required with it. Not much of a job but still super annoying that the end user is required to do this.

Fun to see Dink in Finnish (not to mention incredibly corny sounding, which is why I abandoned a similar translation endeavor years ago =P). A shame that the "nothing to talk to here" and "I can't cast magic yet" quips don't seem to be translated (in any language), though. FreeDink supports the dnotalk and dnomagic functionality, however, so shouldn't adding these strings for translating be pretty simple?

EDIT: Here's the Finnish translation for anyone else. Extract into your FreeDink folder:

https://www.dropbox.com/s/fueydvrrlehvgol/DinkSmallwoodFI.zip
June 19th 2014, 07:42 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Fun fact: The original game (even up to 1.08, dunno about HD) has source code for German translations of those hard-coded strings. It's just a compiler-option away! (specifically -D __GERMAN)
June 20th 2014, 04:57 AM
farmer.gif
Beuc
Peasant He/Him France
 
scratcher: the translations are bundled with freedink-data

I'll make a new release soon to include the new Catalan and Hungarian translations.

The default actions are translated by the FreeDink engine directly, but it only works on windows if you install the translations in c:/usr/share/locale so that's something we should fix.
June 20th 2014, 09:27 AM
spike.gif
Ah, that's great all around. (Well, not the c:/usr/share/locale stuff obviously, but the fact it's there/"in the works" ) I must've had an older version of freedink data.
June 21st 2014, 04:08 AM
farmer.gif
Beuc
Peasant He/Him France
 
The FreeDink bundle installer is pretty outdated, that's probably where you get it from
But releases take sooo long to be approved at the DN, it's not motivating
July 1st 2014, 05:10 PM
farmer.gif
Beuc
Peasant He/Him France
 
Game engine texts are now translated under windows in the current FreeDink Beta
http://www.beuc.net/tmp/freedink-109.0.zip