Re: NSPropertyListSerialization & nibtool problems
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.