Improved translation of the Settings dialog

The default language for the settings dialog is set from window.JSAV_OPTIONS (if possible) when Settings is not linked to a JSAV instance.