fixes #2420 - extract strings for i18n from JavaScript, various i18n fixes