Re: Problem adding .lproj folders to xcode projecjt
Re: Problem adding .lproj folders to xcode projecjt
- Subject: Re: Problem adding .lproj folders to xcode projecjt
- From: James Bucanek <email@hidden>
- Date: Thu, 1 Sep 2005 18:26:56 -0700
Ando Sonenblick wrote on Thursday, September 1, 2005:
>Gang,
>
>I have an xcode "Bundle" project and I'm trying to add a few .lproj
>folders to it.
I'm not entirely sure what you're trying to accomplish, but I'm sure you're going about it the wrong way.
The .lproj folders represent localizations of files. You never "add" .lproj folder to an Xcode project. .lproj folders are using intenally to organized localized files.
Not knowing what you're trying to do, I'll punt and tell you how to do what I think you want to do.
Start with a source file in a project folder: any.nib
Project/
any.nib
Open the Info window or Inspector palette and localize it. any.nib will be moved into an .lproj subfolder for the development region.
Project/
English.lproj/
any.nib
Now go back to the Info window and add a French localization to any.nib. You'll now have two .lproj folders.
Project/
English.lproj/
any.nib
French.lproj/
any.nib
From here, manually replace the localized version of either any.nib with some copy that you already have.
Alternative method.
Start with a single file localized for English.
Project/
English.lproj/
any.nib
Now manually copy a French.lproj folder containing that same file from some other source.
Project/
English.lproj/ <-- created by Xcode
any.nib
French.lproj/ <-- you copied this here
any.nib
Now go and add a localization for French to that file. Xcode recognizes that the localized version already exists and simply adopts it, unchanged.
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden