开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 9936|回复: 4

有没有汉化教程呀。DevExpress 17.2.7下载了不会用

[复制链接]

0

精华

0

贡献

0

赞扬

帖子
10
软币
66
在线时间
0 小时
注册时间
2018-4-22
发表于 2018-4-22 15:35:04 | 显示全部楼层 |阅读模式
有没有汉化教程呀。DevExpress 17.2.7


http://www.dxper.net/thread-40506-1-1.html下载了最新版本的,不会用呀, 不知道怎么汉化呀,

能不能搞个图文教程这样呢。。。。。
回复

使用道具 举报

0

精华

494

贡献

3374

赞扬

帖子
91
软币
8308
在线时间
1152 小时
注册时间
2017-11-20
发表于 2018-4-22 18:45:57 | 显示全部楼层
---------------汉化使用方法

1、下载DevExpress_.NET_Localization_Resources_17.2汉化包
2、解压后将zh-CN或zh-Hans复制到安装目录如D:\Program Files (x86)\DevExpress 17.2\Components\Bin\Framework
3、在开始菜中找到Visual Studio 命令提示(2010),并以管理员身份运行(WIN7,8)
4、切换命令行当前目录到D:\Program Files (x86)\DevExpress 17.2\Components\Bin\Framework\zh-Hans
5、运行dir /B *.dll >>temp.bat,在当前目录中得到所有dll列表
6、用记事本打开D:\Program Files (x86)\DevExpress 17.2\Components\Bin\Framework\zh-Hans\temp.bat
7、通过替换功能将 DevExpress.Charts.Designer.v17.2.resources.dll 处理成 gacutil -i DevExpress.Charts.Designer.v17.2.resources.dll
8、保存temp.bat
9、在命令行窗口中输入temp.bat
10、汉化完成,删除临时文件temp.bat
PS: 不通过 Visual Studio 命令提示(2010) 执行会提示 :'gacutil' 不是内部或外部命令,也不是可运行的程序或批处理文件。
处理好的文件列表
[C#] 纯文本查看 复制代码

       
gacutil -i DevExpress.Charts.Designer.v17.2.resources.dll
gacutil -i DevExpress.Dashboard.v17.2.Core.resources.dll
gacutil -i DevExpress.Dashboard.v17.2.Web.resources.dll
gacutil -i DevExpress.Dashboard.v17.2.Win.resources.dll
gacutil -i DevExpress.Data.v17.2.resources.dll
gacutil -i DevExpress.DataAccess.v17.2.resources.dll
gacutil -i DevExpress.DataAccess.v17.2.UI.resources.dll
gacutil -i DevExpress.ExpressApp.HtmlPropertyEditor.Win.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.PivotChart.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Reports.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Scheduler.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Scheduler.Web.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Security.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Validation.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Web.v17.2.resources.dll
gacutil -i DevExpress.ExpressApp.Win.v17.2.resources.dll
gacutil -i DevExpress.Map.v17.2.Core.resources.dll
gacutil -i DevExpress.Office.v17.2.Core.resources.dll
gacutil -i DevExpress.Pdf.v17.2.Core.resources.dll
gacutil -i DevExpress.PivotGrid.v17.2.Core.resources.dll
gacutil -i DevExpress.Printing.v17.2.Core.resources.dll
gacutil -i DevExpress.RichEdit.v17.2.Core.resources.dll
gacutil -i DevExpress.Snap.v17.2.Core.resources.dll
gacutil -i DevExpress.Snap.v17.2.Extensions.resources.dll
gacutil -i DevExpress.Snap.v17.2.resources.dll
gacutil -i DevExpress.Sparkline.v17.2.Core.resources.dll
gacutil -i DevExpress.Spreadsheet.v17.2.Core.resources.dll
gacutil -i DevExpress.Utils.v17.2.resources.dll
gacutil -i DevExpress.Utils.v17.2.UI.resources.dll
gacutil -i DevExpress.Web.ASPxHtmlEditor.v17.2.resources.dll
gacutil -i DevExpress.Web.ASPxRichEdit.v17.2.resources.dll
gacutil -i DevExpress.Web.ASPxScheduler.v17.2.resources.dll
gacutil -i DevExpress.Web.ASPxSpellChecker.v17.2.resources.dll
gacutil -i DevExpress.Web.ASPxSpreadsheet.v17.2.resources.dll
gacutil -i DevExpress.Web.ASPxTreeList.v17.2.resources.dll
gacutil -i DevExpress.Web.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Charts.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Controls.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Core.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Docking.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Gauges.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Grid.v17.2.Core.resources.dll
gacutil -i DevExpress.Xpf.LayoutControl.v17.2.resources.dll
gacutil -i DevExpress.Xpf.NavBar.v17.2.resources.dll
gacutil -i DevExpress.Xpf.PdfViewer.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Printing.v17.2.resources.dll
gacutil -i DevExpress.Xpf.PropertyGrid.v17.2.resources.dll
gacutil -i DevExpress.Xpf.ReportDesigner.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Ribbon.v17.2.resources.dll
gacutil -i DevExpress.Xpf.RichEdit.v17.2.resources.dll
gacutil -i DevExpress.Xpf.Scheduler.v17.2.resources.dll
gacutil -i DevExpress.Xpf.SpellChecker.v17.2.resources.dll
gacutil -i DevExpress.Xpo.v17.2.resources.dll
gacutil -i DevExpress.XtraBars.v17.2.resources.dll
gacutil -i DevExpress.XtraCharts.v17.2.resources.dll
gacutil -i DevExpress.XtraCharts.v17.2.Wizard.resources.dll
gacutil -i DevExpress.XtraEditors.v17.2.resources.dll
gacutil -i DevExpress.XtraGauges.v17.2.Core.resources.dll
gacutil -i DevExpress.XtraGauges.v17.2.Presets.resources.dll
gacutil -i DevExpress.XtraGrid.v17.2.resources.dll
gacutil -i DevExpress.XtraLayout.v17.2.resources.dll
gacutil -i DevExpress.XtraNavBar.v17.2.resources.dll
gacutil -i DevExpress.XtraPdfViewer.v17.2.resources.dll
gacutil -i DevExpress.XtraPivotGrid.v17.2.resources.dll
gacutil -i DevExpress.XtraPrinting.v17.2.resources.dll
gacutil -i DevExpress.XtraReports.v17.2.Extensions.resources.dll
gacutil -i DevExpress.XtraReports.v17.2.resources.dll
gacutil -i DevExpress.XtraReports.v17.2.Web.resources.dll
gacutil -i DevExpress.XtraRichEdit.v17.2.Extensions.resources.dll
gacutil -i DevExpress.XtraRichEdit.v17.2.resources.dll
gacutil -i DevExpress.XtraScheduler.v17.2.Core.resources.dll
gacutil -i DevExpress.XtraScheduler.v17.2.Extensions.resources.dll
gacutil -i DevExpress.XtraScheduler.v17.2.Reporting.resources.dll
gacutil -i DevExpress.XtraScheduler.v17.2.resources.dll
gacutil -i DevExpress.XtraSpellChecker.v17.2.resources.dll
gacutil -i DevExpress.XtraSpreadsheet.v17.2.resources.dll
gacutil -i DevExpress.XtraTreeList.v17.2.resources.dll
gacutil -i DevExpress.XtraVerticalGrid.v17.2.resources.dll
gacutil -i DevExpress.XtraWizard.v17.2.resources.dll


通过以上步骤操作之后,实际上客户端debug中的调试程序中会自动COPY所需要的几个汉化文件。所以相对是非常好的操作方式。
也可以手工指定汉化文件,官方有介绍,同步官方视频教材做法
       
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-Hans");
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("zh-Hans");
回复

使用道具 举报

0

精华

0

贡献

0

赞扬

帖子
26
软币
176
在线时间
8 小时
注册时间
2018-4-2
发表于 2018-4-24 10:25:56 | 显示全部楼层
fire007 发表于 2018-4-22 18:45
---------------汉化使用方法

1、下载DevExpress_.NET_Localization_Resources_17.2汉化包

怎么有这样的提示???tell me about reason
捕获.PNG
回复

使用道具 举报

0

精华

730

贡献

2970

赞扬

正版授权组

Rank: 14Rank: 14Rank: 14Rank: 14

帖子
413
软币
15959
在线时间
2991 小时
注册时间
2013-6-8

饮水勋章神经正常武林秘籍

发表于 2018-4-24 13:22:55 | 显示全部楼层
汉化方法:将汉化文件解压后
1.下载官方汉化包,解压,文件夹名变更为zh-Hans
2.直接放在程序运行目录下即可
3.有多个语言包也可以指定语言包,在程序中写入以下代码:
    System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-Hans");
    System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("zh-Hans");
注意:汉化文件夹的名称改为zh-Hans  汉化版本请注意对应不同的版本号
回复

使用道具 举报

0

精华

0

贡献

7

赞扬

帖子
10
软币
105
在线时间
6 小时
注册时间
2019-4-14
发表于 2019-4-14 15:27:16 | 显示全部楼层
ssjun 发表于 2018-4-24 13:22
汉化方法:将汉化文件解压后
1.下载官方汉化包,解压,文件夹名变更为zh-Hans
2.直接放在程序运行目录下即 ...

.直接放在程序运行目录下,是指路哪个目录?
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-12-23 02:49

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表