support OpenOffice.org 3.4 by using -opt instead of --opt.
LANG should not be UTF-8 but like en_US.UTF-8.

also make it possible to specify LANG from the configuration file.