首页> 外国专利> Object-oriented system for the transparent translation among locales of locale-dependent application programs

Object-oriented system for the transparent translation among locales of locale-dependent application programs

机译:面向对象的系统,用于在与语言环境相关的应用程序的语言环境之间进行透明转换

摘要

User interface objects are stored in a user interface object archive which is a database physically located in the shared library of an associated application program. In order to facilitate “localization”, or preparation of an application developed in one language for use in an “area” or a locale which uses another language, the user interface objects are stored in a hierarchical locale tree within the archive. All objects are stored in the base or root of the hierarchy, but only those objects which require a translation are stored in an area associated with a more specific locale. At runtime, a complete collection of objects is assembled by starting at the desired locale and proceeding up the hierarchy level-by-level. Translated objects at lower levels of the hierarchy “override” those at higher levels so that the most complete translations of each object are obtained during this search. The user interface objects which are stored in an archive are actually created via a predefined “constructor” program, and, in order to allow newly-created user interface objects to use the predesigned constructor program, each user interface object is contained in a special “escort” object that interfaces with the constructor program. Both the user interface object and the escort object are stored at the appropriate locale in the archive, but when an archived object is requested, the related escort object is queried and streams out the attributes of the enclosed UI object. The escort object itself remains in the archive.
机译:用户界面对象存储在用户界面对象档案库中,该档案库是物理上位于相关应用程序的共享库中的数据库。为了促进“本地化”,或准备使用一种语言开发的应用程序以供在“区域”中使用。或使用其他语言的语言环境,用户界面对象存储在归档文件中的分层语言环境树中。所有对象都存储在层次结构的基础或根中,但是只有那些需要翻译的对象才存储在与更特定的语言环境关联的区域中。在运行时,通过从所需的语言环境开始并逐级进行层次结构来组装对象的完整集合。较低层次结构“覆盖”的翻译对象更高级别的翻译,以便在此搜索过程中获得每个对象的最完整翻译。实际上,存储在档案中的用户界面对象是通过预定义的“构造函数”创建的。程序,并且为了允许新创建的用户界面对象使用预先设计的构造函数程序,每个用户界面对象都包含在特殊的“护送”中。与构造程序连接的对象。用户界面对象和伴游对象都存储在存档中的适当区域设置中,但是当请求已存档的对象时,将查询相关的伴游对象,并流出所包含的UI对象的属性。护送对象本身保留在存档中。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号