Site search

Recent Comments

  • Wordman: There is a conversion guide here that makes things a bit more clear: http://paizo.com/store/down...
  • Eraserhead: Unfortunately there is no Windows version.
  • Mathew: Hello Mathew. Im realy interested in your programs they look realy good, but as im sure U have been...
  • Eraserhead: Wordman I’ll look and see if I can allow customising of Initiative. A blog post on Pathfinder will...
  • Wordman: In the Battle screens, it used to be possible to edit the initiative rolls of the players (my players like...

Tags

4th edition CocoaLocalizer D&D Manager data file Data Project localisation Pathfinder Real life release Snow Leopard Software technical stuff the website itself translation travel

 

December 2009
M T W T F S S
« Nov   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

Archives

Meta

CocoaLocalizer

I made a mistake with my localisation coding and I assumed that NSLocalizedString used the form NSLocalizedString(key,value) when in fact it uses NSLocalizedString(keyValue,comment). Rather than go back and redo my coding so that it would work I created a new program called CocoaLocalizer to do this hard work for me. This program creates better comments than genstrings as it allows you to import comments from an external file with the same keys, and it also displays the ‘default value’ in the comment so you can see what you’re translating from. Additionally it allows you to ‘merge’ another .strings file (though it misses the comments in that at the moment) into the one it generates. Also the application checks both the keys and values to make sure they don’t clash with existing values and displays a ‘nice’ error for this.

It also works with NSLocalizedString done in the default way as well (i.e. NSLocalizedString(keyValue, comment) and with that it just uses the extra comment from the comment.strings file as another comment.

This program has a Cocoa interface and isn’t a command line application and it requires Mac OS X 10.6 Snow Leopard.

It can be downloaded from the applications Sourceforge project page at: sourceforge.net/projects/cocoalocalizer/

Write a comment