Re: What happens to my German strings?
Re: What happens to my German strings?
- Subject: Re: What happens to my German strings?
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 18 Apr 2006 10:01:11 -0700
On Apr 18, 2006, at 9:47 AM, desktoast music productions wrote:
NSAlert *deleteAlert = [NSAlert alertWithMessageText:@"Wollen
Sie Ihre
Notizen wirklich löschen?"
defaultButton:@"Löschen" alternateButton:@"Abbrechen"
otherButton:nil
informativeTextWithFormat:@"Dieser Vorgang kann nicht
rückgängig
gemacht werden!"];
You should not use non-ASCII characters in source files. How they
are interpreted depends on the encoding of the file.
See for example <http://lists.apple.com/archives/cocoa-dev/2002/Mar/
msg01075.html>, <http://lists.apple.com/archives/cocoa-dev/2005/Mar/
msg02226.html>, <http://lists.apple.com/archives/cocoa-dev/2005/Mar/
msg02234.html>, and <http://lists.apple.com/archives/cocoa-dev/2005/
Oct/msg01321.html>.
First of all – no, I did not make my app localizable (I know I
should, but I
needed this app running ASAP. I’m not only working on this piece,
but also
WITH it – coordinating a 100-man red cross team...)
It would probably be more efficient to internationalise your
application from the outset. Use NSLocalizedString or its variants to
retrieve non-ASCII strings from a .string file. See <http://
developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/
Articles/StringsFiles.html#//apple_ref/doc/uid/20000005>. Make sure
that the keys you use do not contain non-ASCII characters...
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden