How to stop Safari from constantly crashing
Tuesday, 12 June 2007
If you installed Safari on a non-English version of Windows you are probably experiencing quite a lot of crashes. There are many ways to crash the browser: enter text into a form field, add a bookmark or ironically even when you try to report a bug. Luckily it is easy to fix.
After hanging out at #webkit most of the day I know I am not the only one affected by this bug. The one thing that was common between all of these people? They were using a non-English version of Windows.
The problem occurs because there is a bug in Safari that causes a crash when it needs to display some localized information and fails to find the correct localisation information. Given that the beta version only comes with English localisation files, it will crash on any non-English system.
To fix this you need find the location of the directory in which you installed Safari. Usually this is
Then find all
English.lproj folders, duplicate them and rename the duplicate to
Your language.lproj. On my system I renamed them to
Dutch.lproj. German users will need to rename them to
German.lproj and French users to
Next find all the
en.lproj folders, duplicate them and rename the duplicate to
Your isocode.lproj. On my system I renamed them to
nl.lproj. German users will need to rename them to
de.lproj and french users to
These are the directories that you must duplicate and rename:
This will ensure that Safari can find localisation files for the language that you are using. They are not the proper files for your language – the browser is still English-only for now, but at least it stops Safari from crashing.
There is also a separate, unrelated rendering issue that users of non-English versions of Windows are experiencing. The solution above does not affect this issue, so Safari is still not really useful on Windows. Given that the WebKit team already announced that they are going to offer nightly builds for Windows I guess this problem will also soon disappear.
Update: I also found a fix for the rendering problem. You can fix this by changing a setting in the Regional and Language Options control panel. Go to the tab Advanced and select English (United States). Now restart and the rendering should be okay. If it isn’t try restarting again, I also had to restart twice.
An updated beta version for both of these show-stopper bugs would be nice too!