8 Star 16 Fork 0

zam1024t / LocalizedMenu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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

The MIT License (MIT) Copyright (c) 2016 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Sublime Text 汉化插件及汉化工具 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/zam1024t/LocalizedMenu.git
git@gitee.com:zam1024t/LocalizedMenu.git
zam1024t
LocalizedMenu
LocalizedMenu
master

搜索帮助

14c37bed 8189591 565d56ea 8189591