Re: Localization of Cocoa-Xib for a Newbie
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:12:36 +0100
Hi,
I made an intesting experiment:
1. I opened the application package that Xcode had created.
2. Inside there I opened Contents -> Resources -> German.lproj ->
MainMenu.xib using IB and saved it at the same place as MainMenu.nib
3. Started the application package again and I got my german text
displayed.
So Xcode did not automatically create my MainMenu.nib for the german
localization. I ealier realized that when I click onto the german
".xib" in Xcode I see the xml-file content, but when clicking on the
english ".xib" I don't see. IB also only opens the english ".xib"
starting from Xcode 3.1.1.
My conclusion: This behaviour of Xcode could be:
- a matter of configuration of Xocde (but how)?
- a matter of remove an reinstall Xcode
- simply a bug in Xcode 3.1.1
- anything else ;-)
Any ideas?
Regards
Roman Fischer
Am 31.10.2008 um 22:27 schrieb Roman Fischer:
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 and there ist no
MainMenu.nib there is a MainMenu.xib. I can open the MainMenu.xib
using IB and see my german text inside. But when I start the app in
the "<Projectname> -> build -> debug" folder the english text is
displayed to me.
Regards,
Roman Fischer
Am 31.10.2008 um 22:02 schrieb Ken Thomases:
On Oct 31, 2008, at 7:17 AM, Roman Fischer wrote:
So it seems clear to me that my created application "knows" that
it should use the german localization, but it uses the wrong
localization of the XIB files.
Any clues about the mistake I made?
In the built application, is there a MainMenu.nib in the de.lproj
subfolder of the Resources folder?
Regards,
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