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
- en English
- es_ES Español
- fr_FR Français
- hy Հայերեն
- pt_BR Português do Brasil
- ru Русский
- sv_SE Svenska
- zh_CN 简体中文
- zh_TW 繁体中文
- 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: https://www.wikipedia.org/wiki/ISO_639-1
- Country: https://www.wikipedia.org/wiki/ISO_3166-1
- Fork repo
- Make pull request
- es_ES Español by Dastillero
- fr_FR Français by fxbenard
- hy Հայերեն by Arman High Foundation
- pt Português do Brasil by JNylson
- ru Русский by Dimox & Ant0sh
- sv_SE Svenska by H2SO4JB
- zh_CN 简体中文 by Zam
- zh_TW 繁体中文 by Zam