• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

zam1024t/LocalizedMenu: Localize Tool & Localized Menu for Sublime Text 2/3/ ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

zam1024t/LocalizedMenu

开源软件地址(OpenSource Url):

https://github.com/zam1024t/LocalizedMenu

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

LocalizedMenu

Localize Tool & Localized Menu for Sublime Text 2/3/4 End User

  • Provide a easy way to add new languages
  • Support multiple version/platform
  • Support share common menus
  • Auto backup local menus
  • Auto unpack new build english menus

README.md

This project is also hosted at

Shots

Work on Windows

Work on Windows

Work on OS X

Work on OS X

Work on Ubuntu

Work on Ubuntu

Installation

  • With Package Control
  • Manually
    • donwload master.zip,unpack to Packages,then rename LocalizedMenu-master to LocalizedMenu
    • git clone to Packages
     git clone https://github.com/zam1024t/LocalizedMenu
    

Usage

  • Toggle in menu
    • via Preference -> Languages
  • Toggle in command panel
    • Ctrl+Shift+P, typelmxx(xx is the locale code) to toggle

Add A Language

  • copy locale/en/en.json to locale/<locale>/<locale>.json, localize to your language

  • copy menu/<version>/en/* to menu/<version>/<locale>/*, localize to your language

  • For example, now add locale named my for Sublime Text Build 3999

    • open LocalizedMenu dir, via Preference -> Languages -> Add a language
    • enter locale, copy en to my
    • enter my, rename en.json to my.json, edit as:
     {
     	"link": "",
     	"hidden": false,
     	"caption": "MyLanguage",
     	"mnemonic": "m"
     }
    • entermenu/3999, copy en to my, and tranlate all caption in menu files
    • detect language via Preference -> Languages -> Detect, then MyLanguage (my) display

    locale configs
    link: the target locale linked to
    hidden: hide menu item
    caption: language name,locale code will auto add extraly
    mnemonic: hotkey,optional,make sure caption contain it,Case sensitive

Submit A Language

Locales & Contributors

Related discuss

License

The MIT License




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap