Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Reduce iWeb and Pages disk space utilization Apps
When you install iWeb as part of the iLife '06 upgrade, you'll get a huge 630MB application file. While this made sense (perhaps) for iDVD due to its movie themes (which now weigh in at 1.7GB, but are stored separately), or even for the new iPhoto's inclusion of book templates (which add 300MB), I couldn't understand why iWeb would be so obese. Web site files are small, aren't they?

So I poked around in the application contents, and found that the bulk of the size is indeed the templates -- but multiplied because of how they were built. Each template is localized for all of the supported OS languages, with a complete set of files (including sample images) duplicated in each. But the only way to take advantage of, say, the French version of the Formal - Welcome page (i.e. Formel - Bienvenue) is to change your system language in the International preference pane and restart iWeb. This also changes the application menus, so it doesn't really make sense unless you're running that system language all the time anyway. And to top it off, most of the site is already greeked anyway, so the only things localized are maybe the page name and the tag of "Created on a Mac" (or, "Cr sur un Mac" for our example).

So, unless you're really stuck for how to say Blog in Swedish (which, incidentally, seems to be 'blogg') or the like, you can save space by removing all but your active language from the iWeb application bundle. Control-click on the app and choose Show Package Contents from the pop-up menu. Then go into Contents/Resources, and delete all of the *.lproj folders except for the language you use (e.g. English.lproj). Total savings should be about 520MB.

[robg adds: Read on for more details on how the various iLife apps store their themes, as well as my method of saving space while keeping a backup copy of the trashed files.]

I noticed after upgrading to iLife '06 that a few of the apps had grown significantly in size, presumably due to the inclusion of theme files within the application itself, rather than broken out in Application Support as had happened with iDVD. I checked to see whether it was possible to move the Themes from inside iPhoto 6 to where I assume they'll be eventually (Application Support/iPhoto/Themes), but any files moved would no longer appear in iPhoto's Book template selection, even with aliases in place. Oh well, maybe it will change in iPhoto 7 when they add the inevitable additional templates.

iWeb was a different story. The themes weren't stored together as they are in iPhoto, or were in older iDVD and Keynote versions. Rather, they're bundled into each language project, so each language has its own localized version of each page in each template. Needless to say, this adds up -- I figured that by removing all of the inactive language templates, the application would shrink by 520MB (hence the hint).

Overall, while three apps added some form of template support (GarageBand for recording session types, iMovie's moving themes, and the new iWeb page templates), their approach to a common storage model is still haphazard. At present:
  • GarageBand: project files (*.band) in new Templates folder in /Library/Application Support/GarageBand/Templates -- includes options for "Movie Score" and "Podcast Episode."
  • iDVD: theme files (*.theme) are organized by version they were added with, in /Library/Application Support/iDVD/Themes (iDVD v3 through v6 only; v1 and v2 are still absent).
  • iMovie: theme bundles (*.bundle) are stored in /Library/Application Support/iMovie/Themes (no hierarchy).
  • iPhoto: book templates (*.IPBookTheme) are now bundled into the application, in Content/Resources/Themes, ballooning the file size by about 300MB.
  • iTunes: no themes (unless some remnant of the SoundJam Skins support remains).
  • iWeb: the real oddball, templates (*.webtemplate) are stored in each language project folder within the app (e.g. Travel template for "About Me" page in English is in Content -> Resources -> English.lproj -> Templates -> About Me -> Travel About Me.webtemplate).
By comparison, Apple's two other theme-oriented apps, Keynote and Pages (as of the original iWork) follow the model of iPhoto and iWeb, respectively. Keynote 2 stores its files in Content/Resources/Themes, while Pages follows the same odd structure as iWeb, with templates repeated under each language project. Numerous other structural similarities in the files, plus their operation of course, suggest a common code base between those two apps at some stage. So you can also save a bunch of space by following this tip for Pages.

The trend in iWeb/Pages is worrisome, if only because it makes the addition of themes in later versions (a safe prediction) an exponential waste of space. I think both of their template formats will need to be inverted at some point, with shared files (images, scripts, etc.) stored only once, and then the localized strings stored in separate language subfolders as is more the norm.

Again, as with the system installer packages, it's curious how splintered the formats remain among similar applications -- solving the same problems different ways, and changing from version to version. Testament perhaps to the size and complexity of programming something like the modern iLife suite.

[robg adds: I'm always hesitant about deleting things from applications, even something as seemingly safe as language files. So I did this slightly differently for both Pages and iWeb. First, I selected the program in the Finder, then hit Command-I to open a Get Info window. I opened the Language section of the window, and then unchecked all languages other than English. This deactivates the languages without deleting them, but will not (as of yet) save any disk space.

Then I control-clicked on the application and drilled in via Show Package Contents to the Contents folder. The deactivated languages are now all grouped together in a folder named Resources Disabled inside the Contents folder. I moved this folder to a backup disk, and changed the name (Pages_Resources Disabled and iWeb_Resources Disabled) so that I have them available in the event of an emergency. Finally, I deleted the Resources Disabled folders from within each application.

I tested both apps after making the change, and both worked just fine. Total space saved: 1.08GB, and I have peace of mind at the cost of that same 1.08GB of space on my backup drive.]
    •    
  • Currently 3.00 / 5
  You rated: 3 / 5 (6 votes cast)
 
[27,492 views]  

Reduce iWeb and Pages disk space utilization | 15 comments | Create New Account
Click here to return to the 'Reduce iWeb and Pages disk space utilization' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Reduce iWeb and Pages disk space utilization
Authored by: earthsaver on Feb 06, '06 08:14:50AM
You must be really paranoid of losing functionality, Rob. With Delocalizer early in OS X's development and now Macaroni designed to allow automated, periodic localization removal, you have the opportunity to save disk space for good, not just to move it to a backup location where you will never touch it again. (Sort of like my binder of CDs.) I have never had a problem related to localization removal. What worries you?, unless you foresee a day when you will need to use your computer in a different language.

---
- Ben Rosenthal
Q16 1.25 - Tiger

[ Reply to This | # ]

Reduce iWeb and Pages disk space utilization
Authored by: teamloco on Feb 07, '06 09:30:53AM

I went through every Apple app and utility, and deleted all erroneous languages. I saved right around 1gb total. I launched everything, used them as much as I normally would and have found no ill effects yet.



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: neuralstatic on Feb 06, '06 09:04:43AM

maybe rob's on the right track.

running delocalizer will kill the latest acrobat pro which checks and tries to install something from a chinese lproj folder on every launch.

but so far that's the only thing i've run into that stopped me from waxing all language support.



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: frankko on Feb 06, '06 12:13:08PM

Illustrator CS2 won't update to 12.0.1 if its localization files are gone (even though you've theoretically downloaded a US English updater).



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: dudemac on Feb 06, '06 09:59:32AM

The easiest way to get rid of the bloat is through the "Get info" window. Open the it and goto the languages pane, select all but your default language. Click the remove tab and all the extra files are gone.

I am assuming that delocalizer does essentially the same thing.



[ Reply to This | # ]
Monolingual
Authored by: poenn on Feb 06, '06 10:42:09AM

I prefer to use Monolingual on a regular base. I remove all languages other than German and English. Never had any problem, Acrobat makes no problems, too. The app is free and even already universal.

Björn



[ Reply to This | # ]
Monolingual
Authored by: poenn on Feb 06, '06 10:45:12AM

Ah, I forgot: Monolingual in its latest release can delete PPC/intel specific resources, too. I have not used it yet, but it's good to know it's there in case in several years I won't need ppc code anymore on my main Mac...



[ Reply to This | # ]
Monolingual
Authored by: st3phen on Feb 06, '06 02:17:30PM

Yes, and if you remove all the Intel binaries from all the iLife & iWork apps, you'll save, IIRC, about another 300MB



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: lmsig on Feb 07, '06 06:24:13AM

So I did exactly this with iWeb. For some reason now pieces of the templates come up in German (or maybe it is French or Italian; I really do not know). I checked the Info pane and English is the only available language. Has anyone else seen behavior like this?



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: jcbeckman on Feb 06, '06 10:55:20AM

The downside to removing languages can be at patch time. I could not run patch programs for Creative Suite 2 because they failed a test - I had run DeLocalizer, and the patcher wanted the app intact. So I had to reinstall the whole mess just to run the updates.



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: john108 on Feb 06, '06 05:01:56PM

If you want to remove languages and still maintain the integrity of Adobe apps use TinkerTool System from:

http://www.bresink.com/osx/TinkerToolSys.html

which does this amongst other things.



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: Splat! on Feb 10, '06 09:56:50PM

dudes...
if you are using ADOBE softwares you need UNCHECK "US english" from languaje list in "DeLocalizer" or "Monolingual"...
for the rest of your system and other applications, all works great!

enjoy!



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: Splat! on Feb 10, '06 09:53:07PM

dudes...
i use Monolingual ( http://www.macupdate.com/info.php/id/7758 )... a nice tool to clean extra languajes and other system "thrash"...
take a look...
see ya



[ Reply to This | # ]
Reduce iWeb and Pages disk space utilization
Authored by: dotgray on Mar 02, '06 11:05:58PM

One common concern has been "what happens during patches?" As other posters have noted, normally removing language files is not a problem. Some exceptions seem to be Adobe apps like CS2. But as of the first patch for iWeb specifically, the results are:

- Two test languages removed in advance (simplified and traditional Chinese).
- iWeb 1.0.1 update recreated the 2 *.lproj folders and added in changed files.
- Changes included were 2 *.nib interface files, and some variations of the Blog and Podcast templates.
- If you're keeping a backup of the extracted files, you can copy them out and over your backups to keep them likewise updated. Otherwise, you can remove the unused language folders again.



[ Reply to This | # ]
iWeb fixed?
Authored by: aaronsullivan on Jun 01, '06 11:56:57AM

Seems like Apple has fixed up iWeb. Almost all language independent graphic files are moved out of the .lproj folders. (iWeb 1.1.1)

The app is "only" ~300MB now and removing the "extra" languages only saves you ~165MB.

Someone at Apple reading MacOSXHints? :)



[ Reply to This | # ]