- /System » Library » CoreServices/
- Control-click on an application, choose Show Package Contents on the pop-ip menu, then navigate into Contents » Resources » [your language].lproj.
- If the string you replace is too long, it will just be truncated and look a bit odd.
- Some strings don't appear to work anyway. I've no idea why.
- The strings files have comments in them. For example, search for OD_8 in /System » Library » CoreServices » Finder.app » Contents » Resources » English.lproj » Localizable.strings.
- Many applications will need to work on a copy, as they cannot authenticate a save.
- %@ is often an interesting thing to try.
- To insert a quotation mark, use \\", and to insert a backslash, use \\\.
Here's how to change the Force Quit menu item in the Dock's contextual menus (I did this in 10.5.2):
- Go to /System » Library » CoreServices » Dock.app » Contents » Resources » [your language].lproj.
- Open DockMenus.strings in your favorite pure text editor.
- Find FORCE_QUIT
- Look at the string next to it (the bit in quotation marks). It should say (if you chose English.lproj) Force Quit.
- Change it to Kill %@! Yaargh!, or whatever else takes your fancy. Leave the quotation marks in place!
- Save the file.
- If necessary, copy the file to its original location.
- Open the Terminal and type killall Dock.
[robg adds: A couple additional caveats on modifying .strings files. First, if you change a copy and move it back, the permissions will differ from what OS X expects; running Repair Permissions will fix this. Second, changes to these files can and will be overwritten with most any system update that affects that area of the OS or particular application. Third, if you make a mistake editing this file (if you remove a quotation mark, for instance), the results can be bad. Always have a good known backup before trying anything like this!]

