shadowsocks i18n of widget
refactor part of shadowsocks core