配备 Windows CE 的 Motorola MC9090G - 用户界面语言 / .net Compact

发布于 2024-08-24 16:34:15 字数 257 浏览 3 评论 0原文

我正在为运行 Windows CE 5 的 Motorola MC9090G 开发一个 Windows CE 程序。 用户界面语言设置为英语(美国)且无法更改。 我已经与该设备的经销商进行了交谈,但他说没有任何可用的语言包。

我已经用两种语言构建了应用程序 - 默认英语和德语。用户应该以德语运行该程序。

我想知道是否没有可供 Windows CE 下载的语言包,或者(如果不可能,是否有任何方法告诉 .net 紧凑程序选择哪种语言)。

有什么想法吗?

I am developing a windows CE program for the Motorola MC9090G which is running Windows CE 5.
The user interface language is set to English (United States) and can't be changed.
I've talked with the distributor of the device, but he said there aren't any language packs available.

I've build the application in two languages - English as default and German. The users should run the program in German.

I wonder if there aren't any language packs for Windows CE to download or (if this is not possilbe if there is any way to tell a .net compact program which language to choose).

Any ideas ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

执笔绘流年 2024-08-31 16:34:15

构建设备的 wince 映像时应添加多语言支持(教程)。大多数流行的语言包都预装了 Microsoft 的 Platform Builder。
如果您无法自行构建,您的 OEM 应该能够为您提供所需的固件。

至于你的申请:

来自 http://msdn.microsoft.com/en-us/库/x5b31f9d.aspx

您无法在设备上以编程方式设置当前区域性。它们由设备制造商设置或由设备用户手动配置,例如运行 Windows CE 或 Windows CE .NET 的 Pocket PC 上的区域设置,当前区域性设置基于每个设备。

所以你在这里也不走运。您可以将英语资源文件替换为德语资源文件,并希望该程序能够吞掉它,但这只是一种快速破解。

Multi-Language support should be added when the wince image for the device is built (tutorial). Most popular Language packs come pre-installed with Platform Builder from Microsoft.
Your OEM should be able to provide you with the firmware you need, if you are unable to build it yourself.

As for your application:

From http://msdn.microsoft.com/en-us/library/x5b31f9d.aspx:

You cannot set current culture programmatically on a device. They are set by the device manufacturer or manually configurable by the device user, such as with Regional Settings on a Pocket PC running Windows CE or Windows CE .NET, current culture settings are on a per-device basis.

So your out of luck here either. You could replace your English resources file with the German one and hope that program would swallow it, but that would be just a quick hack.

甜扑 2024-08-31 16:34:15

我不确定更改操作系统语言会对您产生什么影响。它会更改系统菜单和标签,但不会更改您的应用程序。由您的应用程序来处理。如果应用程序应使用德语,则只需对所有字符串使用该语言即可。

I'm not certain what changing the OS language would do for you. it would change the System menus and labels, but it won't change your application. It's up to your application to handle that. If the application should be in German, simnply use that language for all strings.

感悟人生的甜 2024-08-31 16:34:15

发现没有任何语言包后 - 我以某种方式翻译了整个应用程序,类似于 这篇 codeproject 文章

我的评论

After finding out that there aren't any language packs - I've translated the whole application somehow similar to this codeproject article

The difference of my solution is explained in my comment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文