Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization of Cocoa-Xib for a Newbie



Hello Ken,

Thank you for REALLY GREAT  hint:

The english MainMenue.xib has the File Type "file.xib" but the localized version for german is "sourcecode.xib". I changed it to "file.xib" , rebuilt the app and it runs as expected.

So I think there is a small bug XCode 3.1.1 to assign the wrong file- type to the localized ".xib" (maybe there is a reason to do so, but I cannot imagine ;-)

Regards

Roman

Am 31.10.2008 um 23:05 schrieb Ken Thomases:

On Oct 31, 2008, at 4:27 PM, Roman Fischer wrote:

Thank you for your response,

I try to be as exact as I can:

1. I open the Folder of my XCode-Project using the Finder: <Projectname> -> build -> debug. There I find the application package
2. In the application package I find: Contents -> Resources -> German.lproj -> MainMenu.xib


So there is no de.lproj there is German.lproj

Ah, sorry, my mistake.

and there ist no MainMenu.nib there is a MainMenu.xib.

That seems to be the source of your problem. It appears that Xcode is not compiling your .xib to a .nib as it should be. I haven't worked with .xibs yet, but I know that built applications should not have .xibs in them.


I think the problem may be in the file type that Xcode thinks is assigned for the German.xib. In the file list, disclose the .xib to see both localizations. Get Info on the English localization and the German localization and compare. Make sure that both indicate "File Type: file.xib".

If that's not the problem, bring this back up on the Xcode-users list.

Good luck,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Localization of Cocoa-Xib for a Newbie (From: Roman Fischer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.