The global string constant "U19"
The global string constant "U19"
- Subject: The global string constant "U19"
- From: email@hidden
- Date: Thu, 20 Oct 2005 14:05:46 +0200 (CEST)
- Importance: Normal
Hello all,
as I explained a few days ago in this list I'm currently localizing my Mac
for Breton, putting br.lproj's in every native application's source code.
I've encountered the following problem :
I take here a very specific example that will tell the story.
The source code for Finder uses a global constant string "U19" (that is
defined in
/System/Library/CoreServices/Finder.app/Contents/Resources
/English.lproj/Localizable.strings ) that stands for the string
"Yesterday" (in
English.lproj, and another string in other lproj's).
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 ?
Ewan
_______________________________________________
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