Looking at Localisation

Today I’ve also had a look at the options available for localisation of D&D Manager. I’ve started out by creating some of the files with lists of strings to translate. I’ve created a strings file for each of the user interface “.xib” files that are used to create the interface. This has produced a series of .strings files which I’ve uploaded to my website.

These files can be downloaded in one big zip here.

From these files you have to convert the text after the equals sign on each line to the language you are translating to. i.e. in the following example

/* Class = “NSBox”; title = “Box”; ObjectID = “14489”; */

“14489.title” = “Box”;

You are wanting to translate the word Box, so (assuming translate.google.com is holding up) if you wanted to translate that into Spanish you’d land up with:

/* Class = “NSBox”; title = “Box”; ObjectID = “14489”; */

“14489.title” = “Recuadro”;

Now that seems fairly simple, and that’s all that has to be done for each entry. Now for the bad news, there are around 2500 strings to translate so its going to be a fair bit of work. Fortunately though there are quite a few duplicates (like the box example where there are actually 170 different uses of the word Box, so with multi-file find and replace you can do them all in one go.) and there are also things like +, – etc. which probably won’t need translating.

Although there are 170 versions of the word Box appearing that is one of the more common things to appear in the user interface files – and actually I don’t know if it appears in the final UI at all so it could be skipped. I’d personally make a very, very rough estimate that there are 750 unique strings that will need translating (though there could easily be as many as 1000).

To make the situation even worse this isn’t actually a complete list. There are approximately a further 200 – 250 strings that are created programatically, but quite a few of those will overwrite some strings in the user interface – it might be difficult to be sure which is which, but if you load the program, any strings which change are created programmatically. I haven’t got them in this list as they aren’t in the form required for them to be translated into different languages.

If you are still interested in translating to your language add a comment to this post so everyone can see what has been done, also if anyone is interested in doing a decent amount of translation then I’ll convert the 200-odd strings that are created programmatically into a form which means they can be translated easily.

Its also worth noting that the localisation files have been created from SVN revision 185, in case anyone wants to re-create them later

EDIT: To save the irony of the only text in the program not being localised being the menu item which links to this post, I also need: Information on Localisation translating.

Data file updated

I got some information on new character classes and feats, which I have added to the data file. This is now at version 2.1.6 and can be downloaded from the left hand menu or the data project page.

Thanks to Dan Brown for the information in this update.

D&D Manager 2.2.6 released

I’m made some minor fixes and improvements and D&D Manager appears to be working fine on Snow Leopard – which didn’t actually arrive until yesterday even though it was pre-ordered almost as soon as it was possible to do so last week :p.

You can download the latest version from the link on the left or from the download page.

Please please can you report any issues you find as unfortunately I don’t always catch them all.

D&D Manager 2.2.3 released.

If you’ve been paying attention to my website I released D&D Manager 2.2.3 a week ago, but I’ve been really busy this week so I haven’t tidied up the details, anyhow I’m doing that now.

It contains a lot of minor fixes and improvements which I will add to the release notes page shortly and it can be downloaded from the download page or the link on the left hand side on every page.

I will add a new data file in the next week or so with weapons with support for one of the new features which allows weapons to automatically work for different sized characters. It is still compatible with 10.4.9 or later, though Mac OS X 10.5 is recommended.

Finally thanks to Ammon Clegg for reporting a couple of issues that have been fixed in this release.

Further work on D&D Manager

I have been busy settling into my new job but I have done some work on D&D Manager this weekend, I now just need to do some more testing and I’ll be able to make another release which fixes a few bugs.

Sorry, I haven’t made any progress at all with the 4th edition code, as I’m really too busy to do something so big now.

D&D Manager 4th Edition code on Sourceforge

I started doing some work on the version of D&D Manager for 4th edition D&D as a separate program as there are a fair few changes from 3.5 edition. But although I will be contributing and working on it a bit I don’t have time to do the whole project on my own (or it will take a long time – like a year or so). So if you’re interested in helping let me know by email.

The code is viewable online at: dd-manager.svn.sourceforge.net/viewvc/dd-manager/4-ed/ and it can (probably) be downloaded if you have svn installed with:

svn co http://dd-manager.svn.sourceforge.net/svnroot/dd-manager/4-ed/ dd-manager-4ed

D&D 4th Edition

After my trip I finally picked up the 4th edition D&D book, and the new game looks a lot simpler. But I’m not sure I’m a total fan yet – all the powers seem a bit much. However it also seems to have made enough changes from 3.5th edition that really I need to create a new application.

Now obviously not all of the code will be new, but a lot of it will be. The old program will still be available and updated.

New Website

I’ve decided to update my software website to WordPress and bring it up to date, most of the content is identical to the old site, and it still needs further updates which I am doing right now. I also thought it was best to stick it on one domain with my personal site as well. So rather than going to www.erasersoft.com you go to www.matthewhutton.com/software instead.

I hope you enjoy the new site.