如何在单片机上支持多种语言?
我目前正在致力于针对中国市场升级产品。 目标是带有 QVGA 显示屏的 ARMTDMI7。 我在网上找到的大多数资源都是针对桌面或网络编程而不是嵌入式设备。
- 谁能推荐一些工具和 可能有用的资源?
- 最好的技术是什么 提取文字字符串和 与译者沟通?
I'm currently working on upgrading a product for the Chinese market. The target is a ARMTDMI7 with a QVGA display. Most resources I've located on the net are targeted at desktop or web programming rather than embedded devices.
- Can anyone suggest some tools and
resources that might be useful? - What are the best techniques for
extracting literal strings and
communicating with translators?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我建议查看 EasyGUI,但这取决于您使用的图形控制器。
EasyGUI 是一款简化用户界面设计的工具,并附带适用于各种显示控制器的完整源代码和驱动程序。
对于本地化,您可以使用 EasyTranslate,它为翻译人员提供界面的图形表示。 这可以让译者看到翻译后的文本如何适合屏幕。
EasyGUI 支持 unicode 以及从右到左的脚本。
I suggest looking at EasyGUI but that depends on what graphics controller you use.
EasyGUI is a tool that simplifies design of user interfaces and comes with complete source code and driver for a varity of display controllers.
For localization you can use EasyTranslate that gives the translater a graphical representation of the interface. This lets the translator see how the translated texts fit on the screen.
EasyGUI is available with unicode support aswell as right to left script.
Freetype 可能适合渲染字体。
www.freetype.org
Freetype might be good for rendering fonts.
www.freetype.org
有许多 ARM 微控制器论坛,它们可以帮助您找到所需的内容正在寻找。
Atmel 有一系列 ARM7 处理器,对于那些以此为爱好的人来说非常友好,因此有很多关于该处理器的信息。 它不会相同,但通常工具和库可以跨 ARM 系列使用,因此您可能会找到一些帮助 此处 - 您需要重点关注 AT91SAM7 系列。
如果您有更具体的问题,您可能会在这里得到一些合理的答复。
-亚当
There are many ARM microcontroller forums which will help you find what you're looking for.
Atmel has a line of ARM7 processors, and they are pretty friendly to those who make a hobby out of this, so there's a lot of information on this processor. It won't be the same, but generally the tools and libraries can be used across the ARM line so you might find some help here - you'll want to focus on the AT91SAM7 series.
If you have more specific questions, you will probably get some reasonable response here.
-Adam
听起来您需要升级现有的代码库以使其支持多种语言。
如果是这样,那么这是在微控制器上的事实不应该成为问题 - 我会从标题中删除它并专注于您正在使用的语言(c?)并询问如何将您的程序转换为国际化。
这是许多人在各种平台上解决的问题,事实上,您在微控制器上并不意味着相同的工具等不适用 - 相关因素是您正在使用的语言
-亚当
It sounds like you need to upgrade an existing codebase to make it support multiple languages.
If so, the fact that this is on a microcontroller shouldn't be an issue - I'd drop that fromt he title and focus on the language you're using (c?) and ask how to convert your program for internationalisation.
This is a problem many people have solved on a variety of platforms, and the fact this you're on a microcontroller doesn't mean that the same tools and such don't apply - the relevant factor is the language you're using
-Adam