• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
genstrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

genstrings


  • Subject: genstrings
  • From: Chuck Soper <email@hidden>
  • Date: Fri, 5 Mar 2004 12:26:26 -0800

I use genstrings to create .strings files. I just discovered that it scans all text in source files including commented lines. Is this known behavior? Should I file a bug report?
Chuck


cd /Users/chuck/myproj/
genstrings -o English.lproj *.m

From my source file:

//NSString *one = NSLocalizedString(@"Do not include this string.", nil);

/*
NSString *two = NSLocalizedString(@"Do not include this string either.", nil);
*/

Output from my Localizable.strings file:

/* No comment provided by engineer. */
"Do not include this string either." = "Do not include this string either.";

/* No comment provided by engineer. */
"Do not include this string." = "Do not include this string.";


Note: before I did this test, I deleted my old Localizable.strings file. _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: genstrings
      • From: Kevin Grant <email@hidden>
  • Prev by Date: Re: Changing the type of a Target
  • Next by Date: How to separate stdout/stderr when running inside Xcode
  • Previous by thread: Re: Changing the type of a Target
  • Next by thread: Re: genstrings
  • Index(es):
    • Date
    • Thread