• 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: What happens to my German strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: What happens to my German strings?
      • From: Ricky Sharp <email@hidden>
References: 
 >What happens to my German strings? (From: desktoast music productions <email@hidden>)

  • Prev by Date: Re: What happens to my German strings?
  • Next by Date: Re: What happens to my German strings?
  • Previous by thread: Re: What happens to my German strings?
  • Next by thread: Re: What happens to my German strings?
  • Index(es):
    • Date
    • Thread