Site search

Recent Comments

  • Matthew: I don’t think I’m doing enough work on it to do this I’m afraid.
  • Matthew: You just change the number of ranks.
  • Stefan: Hey, another thing. If I sent you a HUMONGOUS data file based off a video game (The Elder Scrolls IV:...
  • Stefan: This is probably a noobish question, but how do you add skill points to the skills you already have?
  • Eyelessmax: Hi. I love the program. It is helping me organize my adventures quite well. I appreciate how Classes,...

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