1. ibtool
- xib to strings
ibtool --generate-strings-file SFPreferencesViewController.xib.strings SFPreferencesViewController.xib
- strings to xib
ibtool --strings-file SFPreferencesViewController.xib.strings --write SFPreferencesViewController.xib SFPreferencesViewController.xib
2. my log
NSString *file_YBLOG = @"/tmp/SFlog.txt";
NSString *content_YBLOG = @"here";
[content_YBLOG writeToFile:file_YBLOG atomically:YES encoding:NSUTF8StringEncoding error:nil];
3. bundle I18n
NSMenuItem * item1 = [[NSMenuItem alloc] initWithTitle: NSLocalizedStringFromTableInBundle(@"Open Folder", @"Localizable", [NSBundle bundleWithIdentifier: @"com.apple.carbonbundletemplate"], @"") action: @selector(SFFinderMenu_OpenFolderLink_Clicked:) keyEquivalent: @""];