Sublime Text3注册及汉化(支持Windows、MAC OS)

苹果mac 版本下载

点击下载
https://download.sublimetext.com/Sublime%20Text%20Build%203114.dmg

 

PART_A 注册

  • v3103及以上

    —– BEGIN LICENSE —–
    Ryan Clark
    Single User License
    EA7E-812479
    2158A7DE B690A7A3 8EC04710 006A5EEB
    34E77CA3 9C82C81F 0DB6371B 79704E6F
    93F36655 B031503A 03257CCC 01B20F60
    D304FA8D B1B4F0AF 8A76C7BA 0FA94D55
    56D46BCE 5237A341 CD837F30 4D60772D
    349B1179 A996F826 90CDB73C 24D41245
    FD032C30 AD5E7241 4EAA66ED 167D91FB
    55896B16 EA125C81 F550AF6B A6820916
    —— END LICENSE ——
    
  • v3103以下

    ----- BEGIN LICENSE -----
    Andrew Weber
    Single User License
    EA7E-855605
    813A03DD 5E4AD9E6 6C0EEB94 BC99798F
    942194A6 02396E98 E62C9979 4BB979FE
    91424C9D A45400BF F6747D88 2FB88078
    90F5CC94 1CDC92DC 8457107A F151657B
    1D22E383 A997F016 42397640 33F41CFC
    E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
    5CDB7036 E56DE1C0 EFCC0840 650CD3A6
    B98FC99C 8FAC73EE D2B95564 DF450523
    ------ END LICENSE ------
    

PART_B 汉化

  1. 打开 View > Show Console 输入以下文本后 Enter 安装 Package Control,完成后重启 Sublime Text.

    • Sublime Text3

      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 Text2

      import urllib2,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
  2. 点击 Preferences > Package Control 输入 Install Package,等待片刻再输入 ChineseLocalization 安装即可.

  3. 效果如下.

    这里写图片描述

    Windows(上) &&& MAC OS(下)

    这里写图片描述

posted @ 2016-10-31 10:10  雷诺的个人博客  阅读(9712)  评论(2编辑  收藏  举报