WPF实现多国语言

上传者: lansechufeng | 上传时间: 2023-09-15 10:41:21 | 文件大小: 84KB | 文件类型: ZIP
在WPF应用程序中搭建多语言支持(Multilingual Support)是我最近在做的一件事,对于不使用英语的人士而言,此举提高了程序的可用性。实现起来要完成以下目标: 一个版本容纳多种语言. 这就意味着不要创建单独的英语版本、法语版本、日语版本等等。 许多电子产品(例如电视和数码相机)在同一模块中支持多语言。你不需要购买不同模块或给软件打补丁来得到与默认设置不同的语言 允许在运行时切换接口语言. 这就是说不需要关闭应用程序并配置操作系统环境,一切都交给安装器。 首次运行选择合适语言. W应用程序第一次运行,就把接口语言设为操作系统的系统语言。这点很有意义--法国用户喜欢安装、运行、并马上使用软件,而不会再一个不熟悉的应用程序中找到切换语言的地方。 允许UI可拓展以便翻译,缩减可能的裁剪文本。 http://www.oschina.net/translate/building-multilingual-wpf-applications

文件下载

资源详情

[{"title":"( 75 个子文件 84KB ) WPF实现多国语言","children":[{"title":"RePaver","children":[{"title":"RePaver","children":[{"title":"Constants.cs <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"Buttons.xaml <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"TextItems.xaml <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"Templates","children":[{"title":"Buttons.xaml <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"TrackControls.xaml <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"ItemsControls.xaml <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"TrackControls.xaml <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"OtherControls.xaml <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"ItemsControls.xaml <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"ColsAndBrushes.xaml <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"Borders.xaml <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"Media","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"Converters","children":[{"title":"LanguageNameConverter.cs <span style='color:#111;'> 1016B </span>","children":null,"spread":false},{"title":"FlowDirectionConverter.cs <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"FlipSettingConverter.cs <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"UITextLookupConverter.cs <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"Extensions","children":[{"title":"LocalisedFlowDirectionExtension.cs <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"LocalisedTextExtension.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"UI","children":[{"title":"UniformWrapPanel.cs <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"EditControls","children":[{"title":"FlipSelector.xaml <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"FlipSelector.xaml.cs <span style='color:#111;'> 981B </span>","children":null,"spread":false}],"spread":true},{"title":"UniformDoubleStack.cs <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"HostControls","children":[{"title":"TransformerHost.xaml.cs <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"SettingsHost.xaml.cs <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"SettingsHost.xaml <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"TransformerHost.xaml <span style='color:#111;'> 8.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"RePaver.csproj <span style='color:#111;'> 6.90KB </span>","children":null,"spread":false},{"title":"WpfUtility.cs <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"Licence.txt <span style='color:#111;'> 12.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"RePaverModel","children":[{"title":"ISettingsSerialiser.cs <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"MainWindowModel.cs <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"TransformerModel.cs <span style='color:#111;'> 12.47KB </span>","children":null,"spread":false},{"title":"Constants.cs <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"Utility","children":[{"title":"XmlUtility.cs <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"RestorableSettings.cs <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"LanguageData","children":[{"title":"LangHI.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"LangFR.xml <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"LangES.xml <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"LangRU.xml <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"LangAR.xml <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"LangSV.xml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"LangHE.xml <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"LangKO.xml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"LangJP.xml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"LangEN.xml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"LangIT.xml <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"LanguageNames.xml <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"LangEL.xml <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"LangDE.xml <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"RePaverModel.csproj <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"ISettingsInfo.cs <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"Entities","children":[{"title":"UILanguageDefn.cs <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowSettings.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Licence.txt <span style='color:#111;'> 12.09KB </span>","children":null,"spread":false},{"title":"LanguageSettings.cs <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"SettingsModel.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"RePaverViewModel","children":[{"title":"TransformerViewModel.cs <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"ViewModelBase.cs <span style='color:#111;'> 762B </span>","children":null,"spread":false},{"title":"TransformerViewModel.prop.cs <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"RePaverViewModel.csproj <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"MainWindowViewModel.cs <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"CommonViewModel.cs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"SettingsViewModel.cs <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Commands","children":[{"title":"ActionCommand.cs <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"ParamActionCommand.cs <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"SettingsViewModel.prop.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"MainWindowViewModel.prop.cs <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"Licence.txt <span style='color:#111;'> 12.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"RePaver.sln <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明