Skip to content

Localize Tool & Localized Menu for Sublime Text 2/3 End User. 支持简体中文/繁体中文/其它任意语言

License

Notifications You must be signed in to change notification settings

Ant0sh/LocalizedMenu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalizedMenu

Localize Tool & Localized Menu for Sublime Text 2/3 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

Installtion

  • 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

  • zh_CN 简体中文 by Zam
  • zh_TW 繁体中文 by Zam
  • ru Русский by Dimox & Ant0sh

Related discuss

License

The MIT License

About

Localize Tool & Localized Menu for Sublime Text 2/3 End User. 支持简体中文/繁体中文/其它任意语言

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%