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
- With Package Control
- install Package Control
- search for
LocalizedMenu
- Manually
- donwload master.zip,unpack to
Packages
,then renameLocalizedMenu-master
toLocalizedMenu
- git clone to
Packages
git clone https://github.com/zam1024t/LocalizedMenu
- donwload master.zip,unpack to
- Toggle in menu
- via
Preference
->Languages
- via
- Toggle in command panel
Ctrl+Shift+P
, typelmxx
(xx is the locale code) to toggle
-
copy
locale/en/en.json
tolocale/<locale>/<locale>.json
, localize to your language -
copy
menu/<version>/en/*
tomenu/<version>/<locale>/*
, localize to your language -
For example, now add locale named
my
for Sublime Text Build 3999- open
LocalizedMenu
dir, viaPreference
->Languages
->Add a language
- enter
locale
, copyen
tomy
- enter
my
, renameen.json
tomy.json
, edit as:
{ "link": "", "hidden": false, "caption": "MyLanguage", "mnemonic": "m" }
- enter
menu/3999
, copyen
tomy
, and tranlate allcaption
in menu files - detect language via
Preference
->Languages
->Detect
, thenMyLanguage (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 - open
- locale name must be named as
<languageCode>
or<languageCode>_<countryCode>
<languageCode>
lowercase,<countryCode>
uppercase, (ignore this if work on local)- Language: http://www.wikipedia.org/wiki/ISO_639-1
- Country: http://www.wikipedia.org/wiki/ISO_3166-1
- Fork repo
- Make pull request
- es_ES Español by Dastillero*
- hy Հայերեն by Arman High Foundation
- ru Русский by Dimox & Ant0sh
- zh_CN 简体中文 by Zam
- zh_TW 繁体中文 by Zam