学习023-11 How to: Localize XAF Application Items Using XAF Tools(如何:使用XAF工具本地化XAF应用程序项)

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.
使用“筛选器”操作应用“未翻译的非计算值”筛选器。</

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汤姆•猫

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值