Home > Article > Development Tools > How to change sublime to Chinese version
如何将 Sublime 文本编辑器切换为中文版
Sublime Text 是一个流行的跨平台文本编辑器,默认使用英语界面。如果你希望使用中文界面,可以按照以下步骤操作:
1. 安装语言包
在文件浏览器中创建以下文件夹(如果不存在):
.sublime-package
文件解压到创建的文件夹中。2. 启用语言包
在打开的 JSON 文件中添加以下内容:
<code>{ "ignored_packages": [], "font_face": "Consolas", "font_size": 14, "translate_tab": true, "translate_function_docs": true, "theme": "Solarized (Light).sublime-theme", "package_control": { "package_installation_directory": "~/Library/Application Support/Sublime Text 3/Packages", "package_renaming_directory": "~/Library/Application Support/Sublime Text 3/Packages/Renamed" }, "indent_subsequent_lines": true, "tab_size": 4, "line_padding_bottom": 3, "line_padding_top": 3, "word_wrap": false, "trim_trailing_white_space_on_save": false, "ensure_newline_at_eof_on_save": false, "automatic_function_prototypes": false, "show_whitespace": false, "draw_white_space": "selection", "highlight_line": true, "highlight_modified_tabs": true, "gutter": true, "indent_width": 4, "show_invisibles": false, "translate_variables": true, "translate_strings": true, "show_minimap": true, "minimap_width": 75, "line_numbers": true, "find_in_files": true, "quick_panel_search": true, "enable_git": true, "files_exclude_from_project": [ "*~" ], "folder_exclude_patterns": [], "disabled_syntaxes": [], "ignored_syntaxes": [], "global_settings_file": "Preferences.sublime-settings", "default_encoding": "UTF-8", "mouse_wheel_behavior": 2, "find_selected_text_only": true, "increase_indent_pattern": null, "auto_complete_selector": "source, variable", "auto_complete_commit_on_tab": true, "auto_complete_debounce": 55, "auto_indent": false, "detect_indentation": true, "tab_completion": true, "translate_completions": true, "hide_status_bar": false, "auto_complete_prefer_exact_prefix_limit": 25, "renderer": "best", "merge_lines": true, "auto_close_unbalanced_brackets": true, "insert_final_newline": true, "verify_file_encoding": true, "word_wrap_width": 80 }</code>
3. 重新启动 Sublime Text
The above is the detailed content of How to change sublime to Chinese version. For more information, please follow other related articles on the PHP Chinese website!