• 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: lproj directory names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lproj directory names


  • Subject: Re: lproj directory names
  • From: Jason Stephenson <email@hidden>
  • Date: Tue, 13 Oct 2009 10:32:59 -0400

Jason Stephenson wrote:

Yes, pretty much. The above is what I do with Makefile-managed projects, and if I think about it, I change the names in Xcode. (Which reminds me, I just started a new project over the weekend and before I get too deep into it, I think I'll change the lproj names.)

Never mind that last bit of nonsense. You can run into some trouble if you try renaming existing localizations in Xcode.


What I meant to say was that when I add localizations, I use the new names. I get English by default, but for British vs. American spellings, I'll add en-GB and en-US, or fr for French. (I've not yet needed to differentiate between French and Canadian French, but I'm sure I will some day.)

There's no problem mixing the deprecated names with the new ones, from what I can tell. The most specific localization appropriate to the OS settings will be used at runtime. That is, the files in en-GB.lproj will be used on a computer set to a GB locale before it looks in en.lproj or English.lproj. I don't know what happens if you have en.lproj and English.lproj at the same time, I imagine though that the OS will look in en.lproj before looking in English.lproj.






_______________________________________________ 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
References: 
 >lproj directory names (From: Chuck Soper <email@hidden>)
 >Re: lproj directory names (From: Jason Stephenson <email@hidden>)

  • Prev by Date: Re: Xcode bug re Objective-C categories
  • Next by Date: xcode 3.2.1 default delegate class
  • Previous by thread: Re: lproj directory names
  • Next by thread: How to retrieve file name when "Open with..." via Finder
  • Index(es):
    • Date
    • Thread