Quote:
Originally Posted by moren |
Soon we'll do a script for Windows Vista/7 (bat file) that will be able to change the language to define in the script - but this is not solving the problem. Maybe we'll do a separate GUI for it. Our users write many letters in Japanese, English, Italian, Spanish, French, etc..
Solution is very simple:
Eg. linux - very simple script:
unzip the files (lang files and user.
js) and exetuce samplescript.sh - Prepare in advance user.
js file into the appropriate language
#!/bin/sh
cp langfiles /opt/zimbra/zdesktop/linux/prism/xulrunner/dictionaries &&
cp userwitchlangA.
js ~/zdesktop/profile/user.
js &&
kill -HUP #your zimbra process name - I don't remember process name.

# or: kill -HUP `ps -ef | grep zimbra process name | grep -v grep | awk ‘{print $2}’`
echo DONE - if you want, you can create a ASCI menu with choice lang for it
user.
js can be change after the ZD update, so best and safety way is use a awk or sed editors [find and replace line with: user_pref("spellchecker.dictionary", „lang"); ], when we don't have replace all user.
js file.