How to: Localize XAF Application Items Using XAF Tools(如何:使用XAF工具本地化XAF应用程序项)
This topic describes how to localize typical XAF application items using XAF tools. We recommend reviewing the Application Model Basics and Localization Basics topics before proceeding.
本主题介绍如何使用XAF工具本地化典型的XAF应用程序项。建议在继续之前先阅读《应用模型基础》和《本地化基础》主题。
Refer to the How to: Localize an XAF Application topic for information on how to translate XAF applications.
有关如何翻译XAF应用程序的信息,请参考《如何:本地化XAF应用程序》主题。
You can localize parts of an XAF application in two ways:
您可以通过两种方式本地化XAF应用程序的各个部分:
-
Using the Localization Tool, which can be invoked from the Model Editor Toolbar. This tool gathers all the localizable values in one grid, provides the import/export functionality, as well as the ability to use the Microsoft Translator service.
使用本地化工具,可从模型编辑器工具栏调用。该工具将所有可本地化值收集到一个网格中,提供导入/导出功能,以及使用微软翻译服务的能力。 -
Directly in the Model Editor by translating each localizable value.
直接在模型编辑器中翻译每个可本地化值。
We recommend using the Localization Tool to speed up the localization process.
建议使用本地化工具以加快本地化进程。
Use the Localization Tool(使用本地化工具)
Start the translation in the platform-agnostic module and then proceed to the platform-specific modules. Follow the steps below to localize each XAF application module with the Localization Tool.
在与平台无关的模块中开始翻译,然后处理平台特定的模块。按照以下步骤使用本地化工具本地化每个XAF应用程序模块。
1.Click the Localization button in the Model Editor Toolbar to invoke the XAF Localization window.
单击模型编辑器工具栏中的“本地化”按钮,调用XAF本地化窗口。

This window provides the grid editor with all localizable property names, paths, descriptions, and values. A toolbar with the base localization commands is also provided. The Localization Tool topic describes grid columns and this window’s available actions.
该窗口提供的网格编辑器包含所有可本地化的属性名称、路径、描述和值。还提供了带有基本本地化命令的工具栏。《本地化工具》主题描述了网格列和该窗口的可用操作。
2.In the Localization window toolbar, select the target language in the Translation Language drop-down list.
在本地化窗口的工具栏中,从“翻译语言”下拉列表中选择目标语言。

Note
The text supplied with the standard XAF modules are translated if you have successfully installed satellite assemblies for the target language.
如果您已成功安装目标语言的附属程序集,标准XAF模块提供的文本会被翻译。
3.Apply the Untranslated non-calculated filter using the Filters action.
使用“筛选器”操作应用“未翻译的非计算值”筛选器。</

最低0.47元/天 解锁文章
1485

被折叠的 条评论
为什么被折叠?



