• 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: The global string constant "U19"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The global string constant "U19"


  • Subject: Re: The global string constant "U19"
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 20 Oct 2005 09:23:21 -0700


On Oct 20, 2005, at 5:05 AM, email@hidden wrote:

Now, after I've put a duly translated Localizable.strings file in
the br.lproj file, set the preferred language to Breton and restarted the
computer,
and if I look at an app that uses this string U19 (for example, looking
at the info of a file that was last modified yesterday) I see plain "U19"
instead of the Breton word for "Yesterday". So


 1) The computer has not taken in the new information in the
br.lproj/Localizable.strings file. (although the NIB files inside
the same br.lproj file work fine).

2) According to the documentation, when a Cocoa/Carbon app does not
find an equivalent in the preferred language, it looks for one in the
second preferred language, and so on. So I would expect the computer
to show "Yesterday" in the second preferred language (English, in my case)
but no, it just shows "U19". Surprising, isn't it ?


   Can any of the Cocoa experts tell me what's going on here ?


Bundle localization will fall back, but not on a string-by-string basis. The most likely explanation is that your .strings file is being located, but fails to parse. Try using /usr/bin/plutil to diagnose any possible problems with it.


Douglas Davidson

_______________________________________________
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


References: 
 >The global string constant "U19" (From: email@hidden)

  • Prev by Date: Re: Adding Platform-Specific Resources name list ?
  • Next by Date: Re: Universal Binaries and supporting legacy OS
  • Previous by thread: The global string constant "U19"
  • Next by thread: setFrame blocks thread?
  • Index(es):
    • Date
    • Thread