• 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
Making Localizable Help Folder with Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making Localizable Help Folder with Xcode


  • Subject: Making Localizable Help Folder with Xcode
  • From: Simone Manganelli <email@hidden>
  • Date: Mon, 29 Dec 2003 20:53:24 -0800

So I've been sitting here trying to figure out how to localize my help files folder for the longest time, and I can't seem to figure out how to do it.

Here's the situation: I want to get the help folder in the localized .lproj folders -- so for example, the help folder that contains all the help files and images would go in "English.lproj", "Japanese.lproj", etc., with just the localized files for each languages inside the corresponding help folders. The problem is that Xcode seems to refuse to let me build my structure this way -- I import one of the HTML files, and Xcode puts it in the resources folder by default. However, when I go and make the file localizable, it puts the HTML file (for example "index.html") directly inside the .lproj folders, instead of inside a help folder which is inside the .lproj folder. Then, when I try to change the path for the English localization using the inspector window to be English.lproj/Help/index.html , Xcode changes the name of the localization to "index.html" when it's supposed to be "English", so when building the project, Xcode doesn't put the file in the correct path. If I change the name to "English", it actually changes the corresponding file's name to "English", which won't help when the Help Viewer is looking for the "index.html" file.

Here's what the directory structure should look like in the final build product:

TheApp.app --> Contents --> Resources --> English.lproj --> Help Folder --> index.html

But when it's under another localization, I want it to be:

TheApp.app --> Contents --> Resources --> Japanes.lproj --> Help Folder --> index.html

So is there a way to manually set the final path or name of a file so that it forces Xcode to use the required directory structure so that I can localize my help files? I just can't seem to coerce Xcode to do that.

-- Simone Manganelli
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Making Localizable Help Folder with Xcode
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: AppleScript and ToManyRelationships
  • Next by Date: Re: Making Localizable Help Folder with Xcode
  • Previous by thread: AppleScript and ToManyRelationships
  • Next by thread: Re: Making Localizable Help Folder with Xcode
  • Index(es):
    • Date
    • Thread