private void frmMain_Load(object sender, System.EventArgs e)
{
// Ribbon汉化代码
RibbonLocalization ribbonTexts = this.ribbonControl1.SystemText; // 修改ribbonControl1为你程序中的Ribbon控件名
ribbonTexts.MaximizeRibbonText = "功能区最大化 (&M)";
ribbonTexts.MinimizeRibbonText = "功能区最小化 (&N)";
ribbonTexts.QatAddItemText = "添加到快速访问工具栏 (&A)";
ribbonTexts.QatCustomizeMenuLabel = "<b>自定义快速访问工具栏</b>";
ribbonTexts.QatCustomizeText = "自定义快速访问工具栏 (&C)...";
ribbonTexts.QatDialogAddButton = "添加(&A)>>";
ribbonTexts.QatDialogCancelButton = "取消";
ribbonTexts.QatDialogCaption = "自定义快速访问工具栏";
ribbonTexts.QatDialogCategoriesLabel = "选择命令(&C):";
ribbonTexts.QatDialogOkButton = "确定";
ribbonTexts.QatDialogPlacementCheckbox = "在功能区下方显示快速访问工具栏 (&P)";
ribbonTexts.QatDialogRemoveButton = "删除(&R)";
ribbonTexts.QatPlaceAboveRibbonText = "在功能区上方显示快速访问工具栏 (&P)";
ribbonTexts.QatPlaceBelowRibbonText = "在功能区下方显示快速访问工具栏 (&P)";
ribbonTexts.QatRemoveItemText = "从快速访问工具栏删除 (&R)";
// ...
}
原文地址:https://www.cnblogs.com/zhaogaojian/p/8365110.html