MUI(Multilingual User Interface)的实现

本文介绍了MUI(多语言用户界面)在Windows Embedded CE系统中的作用及其实现方法,包括支持多种语言的优势、具体实现步骤等,并强调了其在开发过程中的灵活性和高效性。

由于酷爱写博文,把这习惯带到工作上了。有时,代码没写几行,心得和感叹写了好几页,严肃的工作记录本俨然变成了我的私人博客。

例会上,show了下偶写的笔记,boss Fish过了若干小时后,跑我座位那儿,翻看我的笔记,然后说了句,你是不是喜欢写博客啊,我说你怎么知道?……boss Fish看了我一眼,放下笔记本说,你还不如写博客呢,还能&%*&($(没听清,不过感觉是希望我不要在本子上涂鸦)老大们的意见一向是需要立马贯彻的,于是偶以迅雷不及掩耳的速度更新偶的博客。

今天实现了MUI,记录如下:

【MUI介绍】

Windows Embedded CE上的MUI向用户提供改变UI(User Interface)语言的功能
The Multilingual User Interface (MUI) allows users to change the language of the user interface (UI). To make this possible, the MUI uses a single core binary that includes the system default language, together with one resource dynamic–link library (DLL) for each additional target language. The target device boots with the system default language and then a new user–selected language goes into effect after a soft reset. This switch requires recreating windows, menus, and dialog boxes with the newly loaded resources. In addition, to be considered successful, the language switch must display these elements with the correct fonts and with the correct locale–specific information.

 

【MUI优点】

1、Cost effective in development time
One single run-time image for multiple target language and market.
2、Decouple Coding and Language translation
Language translation can be done in later time and will not impact implementation
3、Flexibility in production and distribution
More language supports can be added in a future time via image update process without impacting the logic of the component.
4、Higher usability
Allows user be able to switch to different language at run-time

 

【MUI实现】(VS2008平台,WM6 Standard模拟器)

1、Build a Project. (The one you want to support with several types of languages)
2、Add an empty DLL project (The particular language support packet).

3、Configure the empty DLL project: Add .def, .cpp, .rc file.

4、Configure project properties

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值