MySql workBench客户端菜单汉化最新版

发布时间:2024年01月11日

找到Mysql Workbench安装目录 如:D:\soft\MySQL\MySQL Workbench 8.0 CE\

进入data目录:D:\soft\MySQL\MySQL Workbench 8.0 CE\data 里面有main_menu.xml文件,将汉化文件覆盖即可
在这里插入图片描述

main_menu.xml汉化内容

注意篇幅限制请移步下载完整版完整main-menu.xml下载

<?xml version="1.0"?>
<data>
    <value type="list" content-type="object" content-struct-name="app.MenuItem">
        
        <!-- File Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file">
            <value type="string" key="accessibilityName">File</value>
            <value type="string" key="name">file</value>
            <value type="string" key="caption">_文件</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.new1">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">New Document</value>
                    <value type="string" key="name">new_document</value>
                    <value type="string" key="command">plugin:wb.file.newDocument</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+N</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.file_new">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">_New Query Tab...</value>
                    <value type="string" key="caption">_新的查询标签页...</value>
                    <value type="string" key="context">home</value>
                    <value type="string" key="name">new_query_tab</value>
                    <value type="string" key="command">builtin:query.newQueryNoconnection</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+T</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.new_sql">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">New Query Tab</value>
                    <value type="string" key="name">query.newFile</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="caption">新建查询标签页</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+T</value>
                    <value type="string" key="command">builtin:query.newFile</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.open">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">_Open Model...</value>
                    <value type="string" key="caption">_打开模型</value>
                    <value type="string" key="name">open_document</value>
                    <value type="string" key="command">plugin:wb.file.openModel</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+O</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.include">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">_Include Model...</value>
                    <value type="string" key="caption">_导入模型</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="name">include_model</value>
                    <value type="string" key="command">plugin:wb.mysql.includeModel</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.open_script">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Open SQL Script...</value>
                    <value type="string" key="caption">_打开SQL脚本...</value>
                    <value type="string" key="context">home</value>
                    <value type="string" key="name">open_script</value>
                    <value type="string" key="command">builtin:query.openScriptNoConnection</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+O</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.open_script_into">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">_Open SQL Script...</value>
                    <value type="string" key="caption">_打开SQL脚本...</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="name">open_script_into</value>
                    <value type="string" key="command">builtin:query.openFile</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+O</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.open_recent">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Open Recent</value>
                    <value type="string" key="name">open_recent</value>
                    <value type="string" key="caption">打开最近文件</value>
                    <value type="string" key="itemType">cascade</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.open_recent">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.run_script">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Run SQL Script</value>
                    <value type="string" key="caption">_执行SQL脚本...</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="name">run_script</value>
                    <value type="string" key="command">plugin:wb.sqlide.runScript</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.run_script">
                    <value type="string" key="context">*query</value>
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.closesql">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Close Connection Tab</value>
                    <value type="string" key="name">closetab</value>
                    <value type="string" key="caption">_关闭连接标签页</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="command">builtin:close_tab</value>
                    <value type="string" key="shortcut">Modifier+Shift+W</value>
                    <value type="string" key="platform">linux,macosx</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.closesqlw">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Close Connection Tab</value>
                    <value type="string" key="name">closetab</value>
                    <value type="string" key="caption">_关闭连接标签页</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="command">builtin:close_tab</value>
                    <value type="string" key="shortcut">Control+Shift+F4</value>
                    <value type="string" key="platform">windows</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.close">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Close Tab</value>
                    <value type="string" key="name">closetab</value>
                    <value type="string" key="caption">_关闭标签页</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="command">builtin:closetab</value>
                    <value type="string" key="shortcut">Modifier+W</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.closesqled">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Close Tab</value>
                    <value type="string" key="name">closeeditor</value>
                    <value type="string" key="caption">_关闭标签页</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="command">builtin:close_editor</value>
                    <value type="string" key="shortcut">Modifier+W</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.close">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.close_           ">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.save">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Save Document</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="name">save_document</value>
                    <value type="string" key="caption">_保存模型</value>
                    <value type="string" key="command">plugin:wb.file.saveModel</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+S</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.savesql">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Save Script</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="name">save_sql</value>
                    <value type="string" key="caption">_保存脚本</value>
                    <value type="string" key="command">builtin:query.saveFile</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+S</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.save_as">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Save Model As</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="caption">保存模型为...</value>
                    <value type="string" key="name">save_document_as</value>
                    <value type="string" key="command">plugin:wb.file.saveModelAs</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+S</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.savesql_as">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Save Script As</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="caption">保存脚本为...</value>
                    <value type="string" key="name">save_sql_as</value>
                    <value type="string" key="command">builtin:query.saveFileAs</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+S</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.revert_sql">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Revert to Saved</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="caption">恢复至上次保存</value>
                    <value type="string" key="name">revert_sql</value>
                    <value type="string" key="command">builtin:query.revert</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.save_as">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="platform">linux,windows</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.file.impor">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="accessibilityName">Separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.import">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Import</value>
                    <value type="string" key="name">import</value>
                    <value type="string" key="context">*model</value>
                    <value type="string" key="caption">_导入</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.import.mysql.sql">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file.import</link>
                            <value type="string" key="accessibilityName">Import</value>
                            <value type="string" key="caption">逆向生成MySQL创建脚本</value>
                            <value type="string" key="name">mysql_import_sql</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.import.sql</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.import.sep">
                            <value type="string" key="itemType">separator</value>
                            <value type="string" key="accessibilityName">Separator</value>
                        </value>
                    </value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="accessibilityName">Export</value>
                    <value type="string" key="name">export</value>
                    <value type="string" key="caption">_导出</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="string" key="context">*model</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export.sql_script">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file.export</link>
                            <value type="string" key="accessibilityName">Export SQL Script</value>
                            <value type="string" key="name">export_sql_script</value>
                            <value type="string" key="caption">正向工程SQL创建脚本...</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.export.sql</value>
                            <value type="string" key="itemType">action</value>
                            <value type="string" key="shortcut">Modifier+Shift+G</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export.sep">
                            <value type="string" key="itemType">separator</value>
                            <value type="string" key="accessibilityName">Separator</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export.png">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file.export</link>
                            <value type="string" key="accessibilityName">Export as PNG</value>
                            <value type="string" key="caption">导出为PNG...</value>
                            <value type="string" key="name">export_image_png</value>
                            <value type="string" key="command">plugin:wb.export.exportPNG</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export.svg">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file.export</link>
                            <value type="string" key="accessibilityName">Export as SVG</value>
                            <value type="string" key="caption">导出为SVG...</value>
                            <value type="string" key="name">export_image_svg</value>
                            <value type="string" key="command">plugin:wb.export.exportSVG</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.file.export.pdf">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file.export</link>
                            <value type="string" key="accessibilityName">Export as Single Page PDF</value>
                            <value type="string" key="caption">导出为单页PDF...</value>
                            <value type="string" key="name">export_image_pdf</value>
                            <value type="string" key="command">plugin:wb.export.exportPDF</value>
                            <value type="string" key="itemType">action</value>

        <!--未完-->
    </value>
</data>

文章来源:https://blog.csdn.net/yxt625520/article/details/135533607
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。