• 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: Localization of Cocoa-Xib for a Newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization of Cocoa-Xib for a Newbie


  • Subject: Re: Localization of Cocoa-Xib for a Newbie
  • From: Roman Fischer <email@hidden>
  • Date: Fri, 31 Oct 2008 23:33:44 +0100

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:
This email sent to email@hidden


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

  • Prev by Date: Re: Localization of Cocoa-Xib for a Newbie
  • Next by Date: Re: Can NSURLConnection use Proxy Server?
  • Previous by thread: Re: Localization of Cocoa-Xib for a Newbie
  • Next by thread: Can NSURLConnection use Proxy Server?
  • Index(es):
    • Date
    • Thread