Re: The global string constant "U19"
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