• 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 naming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .lproj directory naming


  • Subject: Re: .lproj directory naming
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 13 Feb 2007 14:53:29 -0800

On Feb 13, 2007, at 12:51 PM, Laurence Harris wrote:

On Feb 13, 2007, at 3:13 PM, Steve Christensen wrote:

A number of the .lproj directories use legacy English names (English.lproj) instead of ISO 639 (en.lproj or en-US.lproj). I need to set up several localizations for an app I'm working on and was wondering what localization names I should be using, assuming 10.3+.

Is there a list available someplace of all the localization names OS X knows about?

The contents of this folder might be helpful:

/System/Library/Frameworks/Foundation.framework/Versions/C/ Resources/Languages

If I click on the Add Localizations button in Xcode, it presents a list populated with English, Japanese, French and German. I have several localizations besides those.

It's not official documentation, but you can always see what Apple is using in their applications. I think it's safe to assume they'll continue to support the old names like English.lproj for a long time since it's easy to do and it wouldn't be very smart of them to break the majority of third-party applications. But the ISO codes should be fine as well. It's unlikely you're going to provide a localization Mac OS X can't recognize.


On Feb 13, 2007, at 1:21 PM, Ricky Sharp wrote:

See ADC Home | Reference Library | Guides | Core Foundation | Resource Management | Bundle Programming Guide.

Some highlights:

See section "Adding Localized Resources". Mentions you can use either ISO 639 or ISO 3166. Also mentions that for backwards compatibility, NSBundle/CFBundle support human-readable names for several common languages.

The link:

<file:///Developer/ADC Reference Library/documentation/MacOSX/ Conceptual/BPInternational/Articles/LanguageDesignations.html>

documents the usage of the specs and also has URLs to full lists.

Right, I know what the various ISO 639 designations are, but I was also wondering if anybody knew how far back they were supported vs the legacy designations in terms of CFBundle/NSBundle, nibs, etc. I expect that running on 10.3 will be the earliest I have to consider and don't want a later surprise when that OS version doesn't recognize the ISO 639 versions.


steve



_______________________________________________
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


  • Follow-Ups:
    • Re: .lproj directory naming
      • From: Laurence Harris <email@hidden>
References: 
 >.lproj directory naming (From: Steve Christensen <email@hidden>)
 >Re: .lproj directory naming (From: Laurence Harris <email@hidden>)

  • Prev by Date: Re: Framework not found on PPC machine
  • Next by Date: Re: generating bundles without an extension?
  • Previous by thread: Re: .lproj directory naming
  • Next by thread: Re: .lproj directory naming
  • Index(es):
    • Date
    • Thread