• 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: NSPropertyListSerialization & nibtool problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPropertyListSerialization & nibtool problems


  • Subject: Re: NSPropertyListSerialization & nibtool problems
  • From: Jean Bovet <email@hidden>
  • Date: Sun, 25 Jan 2004 23:27:25 +0100

Sorry, I have figured out what was going on with the non-US characters:
I had to encode the string using
"dataUsingEncoding:NSUnicodeStringEncoding". The others question are
still alive!

Le 25 janv. 04, ` 22:54, Jean Bovet a icrit :

> Hi,
>
> I am trying to generate a dictionary file to be used with nibtool to
> translate a nib file. I have found that nibtool requires an
> NSPropertyListOpenStepFormat strings file format and I cannot use the
> NSPropertyListSerialization method because I always get the message
> "kCFPropertyListOpenStepFormat not supported for writing". I had to
> write a custom routine to write the dictionary to the old format (with
> a \0 character between each character) and I wanted to know if it
> correct to do so ? I also have the problem that non-US are not
> correctly written to the nib file: what encoding format should I use
> when creating the .strings file ?
>
> In the nibtool man page, it is written the following statement:
>
> nibtool -w nFile.nib -d file.strings file.nib
> Reloads in the translation dictionary file.strings
> and writes
> out a new file nFile.nib with translated strings.
>
> But after several tries, I had to write the following statement:
>
> nibtool file.nib -w nFile.nib -d file.strings
>
> Is there any mistakes in the documentation ?
>
> Thanks for any help.
>
> Jean Bovet
> _______________________________________________
> 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.
_______________________________________________
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: 
 >NSPropertyListSerialization & nibtool problems (From: Jean Bovet <email@hidden>)

  • Prev by Date: Collapsing/expanding NSSplitView
  • Next by Date: [SOLVED] quit AE not called on a scriptable app
  • Previous by thread: NSPropertyListSerialization & nibtool problems
  • Next by thread: Re: NSPropertyListSerialization & nibtool problems
  • Index(es):
    • Date
    • Thread