On-the-fly Localization for Cocoa