DevExpress汉化
//ini 汉化文件的使用方法:
var
cxLocalizer1: TcxLocalizer;
begin
cxLocalizer1.FileName := '你的路径\DevChs.ini';
cxLocalizer1.Active := True;
cxLocalizer1.Locale := 2052;
end;
https://www.cnblogs.com/kinglandsoft/p/10636590.html?tdsourcetag=s_pctim_aiomsg
关于电子表格的汉化。只需要把下面文件替换即可。不要重新安装控件。重新编译即可(18.2.1)
{********************************************************************}
{ }
{ Developer Express Visual Component Library }
{ ExpressSpreadSheet }
{ }
{ Copyright (c) 2001-2018 Developer Express Inc. }
{ ALL RIGHTS RESERVED }
{ }
{ The entire contents of this file is protected by U.S. and }
{ International Copyright Laws. Unauthorized reproduction, }
{ reverse-engineering, and distribution of all or any portion of }
{ the code contained in this file is strictly prohibited and may }
{ result in severe civil and criminal penalties and will be }
{ prosecuted to the maximum extent possible under the law. }
{ }
{ RESTRICTIONS }
{ }
{ THIS SOURCE CODE AND ALL RESULTING INTERMEDIATE FILES }
{ (DCU, OBJ, DLL, ETC.) ARE CONFIDENTIAL AND PROPRIETARY TRADE }
{ SECRETS OF DEVELOPER EXPRESS INC. THE REGISTERED DEVELOPER IS }
{ LICENSED TO DISTRIBUTE THE EXPRESSSPREADSHEET CONTROL AND ALL }
{ ACCOMPANYING VCL CONTROLS AS PART OF AN EXECUTABLE PROGRAM ONLY. }
{ }
{ THE SOURCE CODE CONTAINED WITHIN THIS FILE AND ALL RELATED }
{ FILES OR ANY PORTION OF ITS CONTENTS SHALL AT NO TIME BE }
{ COPIED, TRANSFERRED, SOLD, DISTRIBUTED, OR OTHERWISE MADE }
{ AVAILABLE TO OTHER INDIVIDUALS WITHOUT EXPRESS WRITTEN CONSENT }
{ AND PERMISSION FROM DEVELOPER EXPRESS INC. }
{ }
{ CONSULT THE END USER LICENSE AGREEMENT FOR INFORMATION ON }
{ ADDITIONAL RESTRICTIONS. }
{ }
{********************************************************************}
unit dxSpreadSheetStrs;
{$I cxVer.Inc}
interface
uses
dxCore, cxClasses, dxSpreadSheetTypes, dxSpreadSheetGraphics, Graphics;
resourcestring
// Popup Menu
sdxBuiltInPopupMenuBringToFront = '置于顶层(&R)';
sdxBuiltInPopupMenuClearContents = '清除内容(&N)';
sdxBuiltInPopupMenuCopy = '复制&';
sdxBuiltInPopupMenuCustomizeObject = '自定义对象(&U)...';
sdxBuiltInPopupMenuCut = '剪切(&T)';
sdxBuiltInPopupMenuDelete = '删除(&D)';
sdxBuiltInPopupMenuDeleteDialog = '删除(&D)...';
sdxBuiltInPopupMenuFormatCells = '设置单元格格式(&F)...';
sdxBuiltInPopupMenuHide = '隐藏(&H)';
sdxBuiltInPopupMenuInsert = '插入(&I)';
sdxBuiltInPopupMenuInsertDialog = '插入(&I)...';
sdxBuiltInPopupMenuMergeCells = '合并单元格(&M)';
sdxBuiltInPopupMenuPaste = '粘贴(&P)';
sdxBuiltInPopupMenuPasteSpecial = '选择性粘贴';
sdxBuiltInPopupMenuPasteSpecialAll = '粘贴(&P)';
sdxBuiltInPopupMenuPasteSpecialFormulas = '公式(&F)';
sdxBuiltInPopupMenuPasteSpecialFormulasAndColumnWidths = '保持原列宽(&W)';
sdxBuiltInPopupMenuPasteSpecialFormulasAndFormatting = '公式和数字格式(&O)';
sdxBuiltInPopupMenuPasteSpecialFormulasAndStyles = '保持原格式(&K)';
sdxBuiltInPopupMenuPasteSpecialShowDialog = '选择性粘贴...';
sdxBuiltInPopupMenuPasteSpecialValues = '值(&V)';
sdxBuiltInPopupMenuPasteSpecialValuesAndFormatting = '值和数字格式(&A)';
sdxBuiltInPopupMenuPasteSpecialValuesAndStyles = '值和原格式(&E)';
sdxBuiltInPopupMenuRename = '重命名(&R)...';
sdxBuiltInPopupMenuSendToBack = '置于底层(&K)';
sdxBuiltInPopupMenuSplitCells = '取消合并单元格(&N)';
sdxBuiltInPopupMenuUnhide = '取消隐藏(&U)';
sdxBuiltInPopupMenuUnhideDialog = '取消隐藏(&U)...';
sdxBuiltInPopupMenuCreateHyperlink = '超链接(&H)...';
sdxBuiltInPopupMenuEditHyperlink = '编辑超链接(&H)...';
sdxBuiltInPopupMenuOpenHyperlink = '打开超链接(&O)';
sdxBuiltInPopupMenuRemoveHyperlink = '移除超链接(&R)';
sdxBuiltInPopupMenuDeleteComment = '删除批注(&M)';
sdxBuiltInPopupMenuEditComment = '编辑批注(&E)...';
sdxBuiltInPopupMenuHideComment = '隐藏批注(&H)';
sdxBuiltInPopupMenuInsertComment = '插入批注(&M)...';
sdxBuiltInPopupMenuShowComment = '显示批注(&O)';
sdxBuiltInPopupMenuProtectSheet = '&Protect Sheet...';
sdxBuiltInPopupMenuUnprotectSheet = 'Un&protect Sheet...';
// Rename Sheet Dialog
sdxRenameDialogCaption = '重命名工作表';
sdxRenameDialogSheetName = '工作表名:';
// File Dialog
sdxFileDialogAllSupported = '所有支持的格式';
// Actions
sdxActionAddGroup = '组合';
sdxActionAutoFill = '自动填充';
sdxActionCellEditing = '编辑单元格';
sdxActionCellsMerge = '合并单元格';
sdxActionChangeConditionalFormatting = '修改条件格式';
sdxActionChangePrintingOptions = '更改打印选项';
sdxActionCreateDefinedName = '创建定义的名称';
sdxActionChangeContainer = '更改容器对象';
sdxActionChangeGroup = '更改组合';
sdxActionChangeHyperlink = '修改超链接';
sdxActionChangeRowColumn = '修改行/列';
sdxActionClearCells = '清空单元格';
sdxActionCutCells = '剪切单元格';
sdxActionDeleteCells = '删除单元格';
sdxActionDeleteComment = '删除批注';
sdxActionDeleteGroup = '取消组合';
sdxActionDragAndDrop = '拖放';
sdxActionEditComment = '编辑批注';
sdxActionExpandCollapseGroup = '显示/隐藏明细';
sdxActionFillCells = '填充单元格';
sdxActionFormatCells = '设置单元格格式';
sdxActionInsertCells = '插入单元格';
sdxActionMoveCells = '移动单元格';
sdxActionPasteCells = '粘贴单元格';
sdxActionReplace = '替换';
sdxActionSortCells = '对单元格排序';
// Hyperlink
sdxDefaultHyperlinkScreenTip = '%s - 单击一次可跟踪超链接。'#13#10'单击并按住不放可选择此单元格。';
sdxDefaultHyperlinkShortScreenTip = '%s - 单击一次可跟踪超链接。';
scxSelectionInDocument = '<< 文档里选中的 >>';
sdxHyperlinkExecuteError = '不能打开 "%s" 。';
// Clipboard
sdxClipboardFormatHTML = 'HTML Format';
sdxClipboardFormatImage = '图片';
sdxClipboardFormatText = '文本';
// Printing
sdxSetSingleCellAsPrintAreaConfirmation =
'You have selected a single cell for print area.' + #13#10#13#10 +
'If this is correct, click OK.' + #13#10 +
'If you selected a single cell by mistake, click Cancel, select the cells you want to include, and then click "Set Print Area" again';
sdxCell = 'Cell: ';
sdxComment = 'Comment: ';
// FormulaBar
sdxFormulaBarCancelHint = 'Cancel';
sdxFormulaBarEnterHint = 'Enter';
sdxFormulaBarFormulaBarHint = 'Formula Bar';
sdxFormulaBarInsertFunctionHint = 'Insert Function';
sdxFormulaBarNameBoxHint = 'Name Box';
sdxFormulaBarSelectionInfo = '%dR x %dC';
implementation
procedure AddSpreadSheetResourceStringNames(AProduct: TdxProductResourceStrings);
begin
AProduct.Add('sdxBuiltInPopupMenuBringToFront', @sdxBuiltInPopupMenuBringToFront);
AProduct.Add('sdxBuiltInPopupMenuClearContents', @sdxBuiltInPopupMenuClearContents);
AProduct.Add('sdxBuiltInPopupMenuCopy', @sdxBuiltInPopupMenuCopy);
AProduct.Add('sdxBuiltInPopupMenuCustomizeObject', @sdxBuiltInPopupMenuCustomizeObject);
AProduct.Add('sdxBuiltInPopupMenuCut', @sdxBuiltInPopupMenuCut);
AProduct.Add('sdxBuiltInPopupMenuDelete', @sdxBuiltInPopupMenuDelete);
AProduct.Add('sdxBuiltInPopupMenuDeleteDialog', @sdxBuiltInPopupMenuDeleteDialog);
AProduct.Add('sdxBuiltInPopupMenuFormatCells', @sdxBuiltInPopupMenuFormatCells);
AProduct.Add('sdxBuiltInPopupMenuHide', @sdxBuiltInPopupMenuHide);
AProduct.Add('sdxBuiltInPopupMenuInsert', @sdxBuiltInPopupMenuInsert);
AProduct.Add('sdxBuiltInPopupMenuInsertDialog', @sdxBuiltInPopupMenuInsertDialog);
AProduct.Add('sdxBuiltInPopupMenuMergeCells', @sdxBuiltInPopupMenuMergeCells);
AProduct.Add('sdxBuiltInPopupMenuPaste', @sdxBuiltInPopupMenuPaste);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecial', @sdxBuiltInPopupMenuPasteSpecial);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialAll', @sdxBuiltInPopupMenuPasteSpecialAll);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialFormulas', @sdxBuiltInPopupMenuPasteSpecialFormulas);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialFormulasAndColumnWidths', @sdxBuiltInPopupMenuPasteSpecialFormulasAndColumnWidths);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialFormulasAndFormatting', @sdxBuiltInPopupMenuPasteSpecialFormulasAndFormatting);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialFormulasAndStyles', @sdxBuiltInPopupMenuPasteSpecialFormulasAndStyles);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialShowDialog', @sdxBuiltInPopupMenuPasteSpecialShowDialog);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialValues', @sdxBuiltInPopupMenuPasteSpecialValues);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialValuesAndFormatting', @sdxBuiltInPopupMenuPasteSpecialValuesAndFormatting);
AProduct.Add('sdxBuiltInPopupMenuPasteSpecialValuesAndStyles', @sdxBuiltInPopupMenuPasteSpecialValuesAndStyles);
AProduct.Add('sdxBuiltInPopupMenuRename', @sdxBuiltInPopupMenuRename);
AProduct.Add('sdxBuiltInPopupMenuSendToBack', @sdxBuiltInPopupMenuSendToBack);
AProduct.Add('sdxBuiltInPopupMenuSplitCells', @sdxBuiltInPopupMenuSplitCells);
AProduct.Add('sdxBuiltInPopupMenuUnhide', @sdxBuiltInPopupMenuUnhide);
AProduct.Add('sdxBuiltInPopupMenuUnhideDialog', @sdxBuiltInPopupMenuUnhideDialog);
AProduct.Add('sdxBuiltInPopupMenuCreateHyperlink', @sdxBuiltInPopupMenuCreateHyperlink);
AProduct.Add('sdxBuiltInPopupMenuEditHyperlink', @sdxBuiltInPopupMenuEditHyperlink);
AProduct.Add('sdxBuiltInPopupMenuOpenHyperlink', @sdxBuiltInPopupMenuOpenHyperlink);
AProduct.Add('sdxBuiltInPopupMenuRemoveHyperlink', @sdxBuiltInPopupMenuRemoveHyperlink);
AProduct.Add('sdxBuiltInPopupMenuInsertComment', @sdxBuiltInPopupMenuInsertComment);
AProduct.Add('sdxBuiltInPopupMenuDeleteComment', @sdxBuiltInPopupMenuDeleteComment);
AProduct.Add('sdxBuiltInPopupMenuEditComment', @sdxBuiltInPopupMenuEditComment);
AProduct.Add('sdxBuiltInPopupMenuHideComment', @sdxBuiltInPopupMenuHideComment);
AProduct.Add('sdxBuiltInPopupMenuShowComment', @sdxBuiltInPopupMenuShowComment);
AProduct.Add('sdxBuiltInPopupMenuProtectSheet', @sdxBuiltInPopupMenuProtectSheet);
AProduct.Add('sdxBuiltInPopupMenuUnprotectSheet', @sdxBuiltInPopupMenuUnprotectSheet);
AProduct.Add('sdxRenameDialogCaption', @sdxRenameDialogCaption);
AProduct.Add('sdxRenameDialogSheetName', @sdxRenameDialogSheetName);
AProduct.Add('sdxFileDialogAllSupported', @sdxFileDialogAllSupported);
AProduct.Add('sdxActionAutoFill', @sdxActionAutoFill);
AProduct.Add('sdxActionAddGroup', @sdxActionAddGroup);
AProduct.Add('sdxActionCellEditing', @sdxActionCellEditing);
AProduct.Add('sdxActionCellsMerge', @sdxActionCellsMerge);
AProduct.Add('sdxActionChangeConditionalFormatting', @sdxActionChangeConditionalFormatting);
AProduct.Add('sdxActionChangePrintingOptions', @sdxActionChangePrintingOptions);
AProduct.Add('sdxActionCreateDefinedName', @sdxActionCreateDefinedName);
AProduct.Add('sdxActionChangeContainer', @sdxActionChangeContainer);
AProduct.Add('sdxActionChangeGroup', @sdxActionChangeGroup);
AProduct.Add('sdxActionChangeHyperlink', @sdxActionChangeHyperlink);
AProduct.Add('sdxActionChangeRowColumn', @sdxActionChangeRowColumn);
AProduct.Add('sdxActionClearCells', @sdxActionClearCells);
AProduct.Add('sdxActionCutCells', @sdxActionCutCells);
AProduct.Add('sdxActionDeleteCells', @sdxActionDeleteCells);
AProduct.Add('sdxActionDeleteComment', @sdxActionDeleteComment);
AProduct.Add('sdxActionDeleteGroup', @sdxActionDeleteGroup);
AProduct.Add('sdxActionDragAndDrop', @sdxActionDragAndDrop);
AProduct.Add('sdxActionMoveCells', @sdxActionMoveCells);
AProduct.Add('sdxActionEditComment', @sdxActionEditComment);
AProduct.Add('sdxActionExpandCollapseGroup', @sdxActionExpandCollapseGroup);
AProduct.Add('sdxActionFillCells', @sdxActionFillCells);
AProduct.Add('sdxActionFormatCells', @sdxActionFormatCells);
AProduct.Add('sdxActionInsertCells', @sdxActionInsertCells);
AProduct.Add('sdxActionPasteCells', @sdxActionPasteCells);
AProduct.Add('sdxActionReplace', @sdxActionReplace);
AProduct.Add('sdxActionSortCells', @sdxActionSortCells);
AProduct.Add('sdxDefaultHyperlinkScreenTip', @sdxDefaultHyperlinkScreenTip);
AProduct.Add('sdxDefaultHyperlinkShortScreenTip', @sdxDefaultHyperlinkShortScreenTip);
AProduct.Add('scxSelectionInDocument', @scxSelectionInDocument);
AProduct.Add('sdxHyperlinkExecuteError', @sdxHyperlinkExecuteError);
AProduct.Add('sdxClipboardFormatImage', @sdxClipboardFormatImage);
AProduct.Add('sdxClipboardFormatHTML', @sdxClipboardFormatHTML);
AProduct.Add('sdxClipboardFormatText', @sdxClipboardFormatText);
AProduct.Add('sdxSetSingleCellAsPrintAreaConfirmation', @sdxSetSingleCellAsPrintAreaConfirmation);
AProduct.Add('sdxComment', @sdxComment);
AProduct.Add('sdxCell', @sdxCell);
AProduct.Add('sdxFormulaBarCancelHint', @sdxFormulaBarCancelHint);
AProduct.Add('sdxFormulaBarEnterHint', @sdxFormulaBarEnterHint);
AProduct.Add('sdxFormulaBarFormulaBarHint', @sdxFormulaBarFormulaBarHint);
AProduct.Add('sdxFormulaBarInsertFunctionHint', @sdxFormulaBarInsertFunctionHint);
AProduct.Add('sdxFormulaBarNameBoxHint', @sdxFormulaBarNameBoxHint);
AProduct.Add('sdxFormulaBarSelectionInfo', @sdxFormulaBarSelectionInfo);
end;
initialization
dxResourceStringsRepository.RegisterProduct('ExpressSpreadSheet 2', @AddSpreadSheetResourceStringNames);
finalization
dxResourceStringsRepository.UnRegisterProduct('ExpressSpreadSheet 2', @AddSpreadSheetResourceStringNames);
end.
DevExpress汉化的更多相关文章
- DevExpress控件库 开发使用经验总结2 DevExpress汉化之WinForm开发模式汉化
2015-01-24 DevExpress控件库默认安装后,使用的本地资源为英文.Developer Express .NET产品都有本地化资源,比如按钮属性,控件属性描述,菜单项,确认和错误的信息等 ...
- Devexpress 汉化
DevExpress是一个比较有名的界面控件套件,提供了一系列的界面控件套件的DotNet界面控件.对于较老的版本(例如之前项目中遇到的dev9),对于汉化(应该说本地化Localization)支持 ...
- DevExpress汉化(WinForm)
/* *隔壁老王原创,2013-09-21,转载请保留本人信息及本文地址. *本文地址:http://wallimn.iteye.com/blog/1944191 */ 最简单的方式就是使用汉化资源, ...
- Devexpress 汉化 代码 zt
将一下代码放到需要汉化的窗体Load事件中 解压汉化初丁文件 /// <summary> /// 汉化DX控件 /// </summary> private void Chin ...
- Devexpress汉化修改 已经汉化过后生成的*.resources.dll文件 z
Devexpress 是很好的第三方控件.但是需要汉化,在从网上下载的zh-CN文件夹里都是*.resources.dll文件,由于汉化的工作量很大,难免有些地方汉化 错误或者不合适(如下图).花了些 ...
- DevExpress控件安装、汉化使用教程
前言 DevExpress是一个庞大的控件库,也很是好用(没用过,听说),但是要收费. 网上关于DevExpress的教程满天飞,我找了一下午也没找到正确的安装.简单实用教程,还是自己摸索吧. 自己动 ...
- DevExpress 控件汉化方法
Ø 简介 本文介绍下 DevExpress 控件的汉化方法,对于英文不怎么好的同学来说,还是非常有必要的.DevExpress 汉化分为运行时汉化,和设计时汉化. 1. 运行时汉化 1) 首 ...
- [转]''\\=DevExpress 中 汉化包 汉化方法
[DevExpress]DevExpress 中 汉化包 汉化方法 2016-02-17 21:13 1781人阅读 评论(0) 收藏 举报 分类: DevExpress(24) 版权声明:本文为 ...
- 使用DevExpress官方汉化文件对界面进行汉化的过程
在较早期的Dev开发中,基本上都是在使用一个DLL包的汉化文件,如基于13.1的汉化包文件Dxper.LocalizationCHS.Win.v13.1.5.dll,这个汉化包也比较方便,大多数时候复 ...
- DevExpress DXperience 的本地化(汉化)方法
Devexpress的.net组件目前非常流行,在国内开发者中有非常高的热度,但是由于是国外控件,我们经常遇到的一个问题是汉化.目前Devexpress公司2011.2版以后使用了统一的本地化模式,针 ...
随机推荐
- Java生成Word文档之 XDocReport 和 Poi-tl
近期参与的多个项目中,均涉及根据预定义模板生成Word文档以供前端下载的需求.以往,我们通常采用将Word文档转换为XML格式,并通过代码赋值变量的方式来实现这一功能.尽管此方法在技术层面可行,但当面 ...
- JS播放m3u8
JS播放m3u8: 利用 hls.min.js <!DOCTYPE html> <html> <head> <title>HLS Video Playb ...
- WPF BitmapSource /BitmapImage 获取像素点颜色
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...
- C#使用yield关键字提升迭代性能与效率
前言 yield关键字在C#中简化了数据迭代的方式,实现了按需生成数据,自动维护迭代状态,减少了内存占用,并允许在迭代时执行复杂逻辑. 传统迭代和yield迭代方式对比 咱们来看看传统迭代方式和yie ...
- 0511-FileWrite字符输出流和JDK7中try..finally新的特性
package A10_IOStream; import java.io.*; /* java.io.Writer:字符输出流,是所有字符数出流的最顶层抽象父类 共性方法 void write(int ...
- Zabbix Server 5.0 安装及Zabbix5.2 一键部署脚本
zabbix 5.0 安装部署 1.关闭防火墙和selinux,安装repository源 [1]关闭防火墙,SELINUX firewall-cmd --state #查看默认防火墙状态,关闭后显示 ...
- 单机麒麟kylin安装
https://archive.apache.org/dist/kylin/ 2.5.0版本 首先启动hadoop.hive.hbase 并记得设置环境变量 #JDK export JAVA_HOME ...
- SAM 学习笔记
发现自己根本没有 SAM 基础,所以想补一篇学习笔记. SAM SAM 是一个可以接受字符串 \(s\) 的所有后缀的最小 \(DFA\)(确定性有限状态自动机).不过他最大的用处和后缀数组一样,都是 ...
- QT5笔记:18 QPainter基本绘图
代码 #include "widget.h" #include "ui_widget.h" #include <QPainter> Widget:: ...
- P11620 [Ynoi Easy Round 2025] TEST_34
由子序列和最值异或可以想到线性基 发现其实线性基满足结合律 考虑线段树进行维护 那么显然的一个想法就是把1操作直接上tag 但是发现上tag其实会丢失线性基的性质 于是差分 将区间修改变为单点修改 考 ...