• 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
Re: genstrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: genstrings


  • Subject: Re: genstrings
  • From: Kevin Grant <email@hidden>
  • Date: Fri, 5 Mar 2004 22:44:32 -0600

Kevin,
Thanks for the suggestion of adding a space to NSLocalizedString. That's a good simple solution.


I really think that genstrings could (or should?) be aware of some (certainly not all) C language syntax. The issue I found could lead to translating unneeded strings and paying for that translation. I'll file a problem report.
On the other hand, if it's expected behavior I suppose it could be a feature for some users.

No problem.
Another solution I just thought of would be to run the C preprocessor explicitly on a code file, passing the processed output to genstrings (this is also something Apple could do). In addition to processing macros, this should strip all comments. Take a look at /usr/bin/cpp, "man cpp". Of course, I haven't tried this... :)


Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
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.


References: 
 >genstrings (From: Chuck Soper <email@hidden>)
 >Re: genstrings (From: Kevin Grant <email@hidden>)
 >Re: genstrings (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: genstrings
  • Next by Date: Re: How to separate stdout/stderr when running inside Xcode
  • Previous by thread: Re: genstrings
  • Next by thread: How to separate stdout/stderr when running inside Xcode
  • Index(es):
    • Date
    • Thread