ctrl + ` (数字键1左边)打开命令窗口
然后输入以下命令:
import urllib.request,os,hashlib; h =
‘2915d1851351e5ee549c20394736b442’ +
‘8bc59f460fa1548d1514676163dafc88’; pf = ‘Package
Control.sublime-package’; ipp = sublime.installed_packages_path();
urllib.request.install_opener( urllib.request.build_opener(
urllib.request.ProxyHandler()) ); by = urllib.request.urlopen(
‘http://packagecontrol.io/’ + pf.replace(’ ‘, ‘%20’)).read(); dh =
hashlib.sha256(by).hexdigest(); print(‘Error validating download (got
%s instead of %s), please try manual install’ % (dh, h)) if dh != h
else open(os.path.join( ipp, pf), ‘wb’ ).write(by)
然后就等待报错弹出窗口,点击确认,然后关闭并重启Sublime Text,此时Package Control就装好了。
点击Preferences/Package Control,然后点击Package Control:Install Package,(第一次运行可以要几秒钟),然后在弹出的命令界面,输入ChineseLocalization回车(输入ch后就会有选项进行鼠标点击即可)