• 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: Localizing about files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localizing about files


  • Subject: Re: Localizing about files
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 5 Mar 2002 19:37:16 +0100

On Tuesday, March 5, 2002, at 06:54 PM, email@hidden wrote:

I was inspired by the "localizing help files" thread (for which I don't know the answer) to ask: is there a solution already in existence for localizing about files? To be specific: each of my apps ships with an about file like "About Constrictor.rtf". Now I've started doing localization work, so I've got a Japanese version of the file. Right now my solution is simply to name the Japanese file "About Constrictor(JP).rtf" and have both files visible at the top level of my .dmg. However, once I've got a French version, a Spanish version, etc. of the file, this will obviously begin to break down.
I'm sorely tempted to write a simple TextEdit knockoff that can contain all of my localized About files within the bundle of an application, and simply displays the proper about file to the user in a non-editable window. Then there would be just one double-clickable About Constrictor.app, and the user would have a simple model once again. However, this seems like such a simple thing to do that I feel sure somebody has already done it. Anybody? If I don't hear from somebody very soon, I'll be posting a URL to the solution shortly. ;->

You mean like writing a ReadMe.rtf file, put in English.lproj and Japanese.lproj and just use the defautl About panel ?

If you don't want to use the default About Panel, you can still keep your rtf or rtfd file in the appropriate Resources folder and use the [[NSBundle mainBundle] pathForResource:@"ReadMe" ofType:"@rtf"]; to get the path and then read the file in a NSTextView.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Localizing about files (From: email@hidden)

  • Prev by Date: Parsing strings? File getline?
  • Next by Date: Re: NSUserDefaults question
  • Previous by thread: Localizing about files
  • Next by thread: Re: Localizing about files
  • Index(es):
    • Date
    • Thread