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


Click here to return to the '10.4: Easily remove all non-English localizations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Easily remove all non-English localizations
Authored by: fds on May 24, '05 01:38:50PM
Or in the simple command-line way:
sudo /usr/bin/find /Applications -type d -name '*.lproj' ! -iname 'en*' -exec rm -r {} ';'
Careful. The non-English localizations will be gone for good.

[ Reply to This | # ]
10.4: Easily remove all non-English localizations
Authored by: metiure on May 24, '05 02:39:40PM

works! thanks!



[ Reply to This | # ]
10.4: Easily remove all non-English localizations
Authored by: baltwo on May 24, '05 04:40:12PM
Be careful with that, you didn't exclude the English.lproj files. Mike Bombich offerred this code snippet (see the DeLocalizer forum item Cmd Line version for details):
find / \( -name *.lproj -and \! \( -name English.lproj -or -name  en.lproj \) \) -exec rm -rf \{\} \;


[ Reply to This | # ]
10.4: Easily remove all non-English localizations
Authored by: efge on May 24, '05 06:35:50PM
In the find command, -iname matches case insentively. So his version was ok and yours is more complex.

[ Reply to This | # ]