C#应用程序支持基于OS的所有语言 [英] c# application to support all languages based on os

查看:87
本文介绍了C#应用程序支持基于OS的所有语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经创建了一个应用程序,但是我需要它来支持所有语言.完全多语种.

例如:某个西班牙用户购买了我的应用程序并在其计算机上运行,​​它应该检测到计算机上当前选择的语言,并且当用户在应用程序中键入任何内容时,都应该以相同的语言显示,在这里说西班牙语.
Thread.CurrentThread.CurrentCulture.Name将给我当前使用的语言.
但是如何在应用程序中以相同的语言显示用户输入的信息.

实际上,这是一个键盘记录器应用程序,它将记录密钥.现在如何根据机器设置在所有语言中记录键.

在此先感谢.

Hi All,

I have created an application but I need it to support all languages. Completely multilingual.

For example : a spanish user buy my application and run on his machine it should detect current selected langauge on machine and when ever user type anything in application it should be visible in same langauge say spanish here.

Thread.CurrentThread.CurrentCulture.Name will give me current used langauge.
But how can I will show the typed information by user in same langauage in my application.

Actually it’s a keylogger application which will record keys. Now how can I record keys in all langauges based on machine settings.

Thanks in Advance.

推荐答案

例如:一位西班牙用户购买了我的应用程序并在其计算机上运行,​​它将检测到计算机上当前选择的语言,并且在任何时候用户在应用程序中键入任何内容,都应该以相同的语言(在这里说西班牙语)看到."

不会发生的.

甚至Google翻译也弄错了它-有时是非常错误的-按钮标题含义的细微差别肯定超出了它.
您为什么认为像MS这样的公司拥有如此庞大的全球化团队?如果这么简单,他们就不会每个月付清所有钱...
"For example : a spanish user buy my application and run on his machine it should detect current selected langauge on machine and when ever user type anything in application it should be visible in same langauge say spanish here."

Not going to happen.

Even Google translate gets it wrong - sometimes spectacularly wrong - and the nuances of button caption meaning are definitely beyond it.
Why do you think companies such as MS have such large Globalization teams? If it was that simple, they wouldn''t pay all that money every month...


^ ]和 Visual Studio中的全球化和本地化命名空间 [ ^ ]


关于所有语言"的概念:请看以下引文:

通常估计世界上的语言数量在3,000至8,000之间变化.

http://wiki.answers.com/Q/How_many_write_languages_are_in_the_world [
About the notion of "all languages": look at this citation:

It is usually estimated that the number of languages in the world varies between 3,000 and 8,000.

http://wiki.answers.com/Q/How_many_written_languages_are_in_the_world[^]
This is only about written language; apparently, you do not have consider all spoken ones.

I hope you understand that you need to translate each and every word in you UI in every language.

Go figure the size of your team. :-)

—SA


这篇关于C#应用程序支持基于OS的所有语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆