[Thai locale] Error on opening options menu - Zotero Standalone
Hi,
upon opening the 'options' menu in the Standalone version 3.05 I get the following error message:
XML Parsing Error: error in processing external entity reference
Location: chrome://zotero/content/preferences/preferences.xul
Line Number 26, Column 69:<!DOCTYPE prefwindow SYSTEM "chrome://zotero/locale/preferences.dtd">
--------------------------------------------------------------------^
This is a clean install (first install of Zotero) without Chrome (was going to install it later). I use Windows 7 Pro 32bit. I needed to access the options menu to change the user interface language which was mistakingly set to Thai script after install as I'm based in Thailand. Maybe this is a Thai UI language specific problem? However, I can't change the UI language if I can't access the options menu...
I tried the same on another windows 7 Pro machine (64bit) and had no problems (again first install and no Chrome or Firefox).
Thanks for any quick help!
upon opening the 'options' menu in the Standalone version 3.05 I get the following error message:
XML Parsing Error: error in processing external entity reference
Location: chrome://zotero/content/preferences/preferences.xul
Line Number 26, Column 69:<!DOCTYPE prefwindow SYSTEM "chrome://zotero/locale/preferences.dtd">
--------------------------------------------------------------------^
This is a clean install (first install of Zotero) without Chrome (was going to install it later). I use Windows 7 Pro 32bit. I needed to access the options menu to change the user interface language which was mistakingly set to Thai script after install as I'm based in Thailand. Maybe this is a Thai UI language specific problem? However, I can't change the UI language if I can't access the options menu...
I tried the same on another windows 7 Pro machine (64bit) and had no problems (again first install and no Chrome or Firefox).
Thanks for any quick help!
You can change the locale manually by closing Zotero and editing prefs.js in C:\Users\\AppData\Roaming\Zotero\Profiles\ in a text editor. Make sure the following two lines exist in the file:
user_pref("general.useragent.locale", "en-US");
user_pref("intl.locale.matchOS", false);
If there are existing lines with those preferences, edit them to reflect those values. Otherwise, add the lines to the end of the file.
What solved the issue eventually was following work-around:
- Deinstall Zotero
- Reinstall Zotero but not start it
- In Zotero program folder edit the file chrome.manifest and change the row of your interface language country code to use 'en-US'. In my case for Thailand, the entry would then look like this:
locale zotero th-TH jar:chrome/zotero.jar!/locale/en-US/zotero/
Obviously you need to retain the first country code, as that's what tells Zotero what to do if the installed computer has that country code.
- After that start Zotero and have English interface.
- You can then enter the options menu and set the 'intl.locale.matchOS' if required.
Cheers
Anyway, it's working brilliantly now and I'm absolutely amazed by this fantastic free software. Definitely has put my Endnote from it's throne. Thanks!