Package: icedove Version: 5.0-1~bpo60+1 Severity: normal
We run icedove in a lab environment where we wish to support multiple different languages for foreign users. However, most people simply want en_US as the default. So, we attempt to set this in the /etc/icedove/pref/icedove.js file (as seen below), however the setting doesn't take. Instead, the user ends up with "es_GT" [1] getting written to their local spellchecker.dictionary setting in their local pref.js even after they have manually selected "en_US". That is to say, the user's prefs.js will be lacking any specification if they choose the one that was already set in the system prefs.js, and at that point the next time they launch the program the the system prefs.js is still not respected, so it goes back to selecting es_GT. The result is that we have to either uninstall all of our foreign language dictionary packs, or use lockPref() to force the dictionary to en_US, which is also not good for the foreign users ability to choose an alternative. Similar behavior occurs in iceweasel 7 as well. Let me know if you need any more details. Thanks, Brian [1] Actually, it will just pick one of the other dictionaries if you start removing languages. It's not clear to me if it's choosing based on some offset or directory order mode or what. The point is that it doesn't respect the default. -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-bpo.2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages icedove depends on: ii debianutils 3.4 Miscellaneous utilities specific t ii fontconfig 2.8.0-2.1 generic font configuration library ii libasound2 1.0.23-2.1 shared library for ALSA applicatio ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcairo2 1.10.2-6~bpo60+1 The Cairo 2D vector graphics libra ii libdbus-1-3 1.2.24-4+squeeze1 simple interprocess messaging syst ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification ii libffi5 3.0.9-3 Foreign Function Interface library ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1+squeeze1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface ii libhunspell-1.2-0 1.2.11-1 spell checker and morphological an ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG ii libnspr4-0d 4.8.6-1 NetScape Portable Runtime Library ii libnss3-1d 3.12.11-3~bpo60+1 Network Security Service libraries ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio ii libpixman-1-0 0.22.0-1.1~bpo60+1 pixel-manipulation library for X a ii libsqlite3-0 3.7.6.3-1~bpo60+1 SQLite 3 shared library ii libstartup-notificati 0.10-1 library for program launch feedbac ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libvpx0 0.9.1-2 VP8 video codec (shared library) ii libx11-6 2:1.3.3-4 X11 client-side library ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar ii libxrender1 1:0.9.6-1 X Rendering Extension client libra ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library ii psmisc 22.11-1 utilities that use the proc file s ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages icedove recommends: ii hunspell-ko [hunspell-dicti 0.4.3-1 Korean dictionary for hunspell ii myspell-de-de [myspell-dict 20091006-4.2 German dictionary for myspell ii myspell-en-us [myspell-dict 1:3.2.1-2 English_american dictionary for my ii myspell-es [myspell-diction 1.10-9 Spanish dictionary for myspell ii myspell-fr [myspell-diction 1.4-25 The French dictionary for myspell ii myspell-it [myspell-diction 1:3.2.1-2 Italian dictionary for myspell ii myspell-pt-br [myspell-dict 20100109-3 Brazilian Portuguese dictionary fo ii myspell-pt-pt [myspell-dict 20091013-2 European Portuguese dictionary for ii myspell-ru [myspell-diction 0.99g5-8.1 Russian dictionary for MySpell Versions of packages icedove suggests: ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst ii libgconf2-4 2.28.1-6 GNOME configuration database syste ii libgnomevfs2-0 1:2.24.3-1 GNOME Virtual File System (runtime ii libgssapi-krb5-2 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries - k ii libnotify1 [libnoti 0.5.0-2 sends desktop notifications to a n ii ttf-lyx 1.6.7-1 TrueType versions of some TeX font -- Configuration Files: /etc/icedove/pref/icedove.js changed: // This is the Debian specific preferences file for Mozilla Firefox // You can make any change in here, it is the purpose of this file. // You can, with this file and all files present in the // /etc/thunderbird/pref directory, override any preference that is // present in /usr/lib/thunderbird/defaults/pref directory. // While your changes will be kept on upgrade if you modify files in // /etc/thunderbird/pref, please note that they won't be kept if you // do them in /usr/lib/thunderbird/defaults/pref. pref("extensions.update.enabled", true); // Use LANG environment variable to choose locale pref("intl.locale.matchOS", true); // Disable default mail checking (gnome). pref("mail.shell.checkDefaultMail", false); // if you are not using gnome pref("network.protocol-handler.app.http", "x-www-browser"); pref("network.protocol-handler.app.https", "x-www-browser"); // Local customizations // 2011-09-19 // bpkroth // use an english dictionary by default // NOTE: For this to take effect lockPref() seems to be necessary, but that's // not so good for foreign users. pref("spellchecker.dictionary", "en_US"); // <snip/> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org