使用c#.net创建本地化的Windows应用程序 [英] Create a localised Windows Application using c#.net

查看:76
本文介绍了使用c#.net创建本地化的Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个Windows词典应用程序(英语到北印度语),在其中用户可以从应用程序中将任何新单词的含义存储在数据库中,但是该单词的含义应存储在北印度语中.我已使用nvarchar数据类型将值存储在sql 2005中,以在印地语中存储值.但是我也想从数据库中检索值(即单词的含义),甚至是用户想要查看的单词.我想知道如何通过Windows窗体或其他任何形式的本地化以印地语语言检索值.

在此先感谢!!!

I want to create a windows application of Dictionary (English to Hindi), in which the user can store any new word meaning in database from application, but the meaning of the word should be stored in Hindi. I have stored value in sql 2005 using nvarchar datatype to store value in Hindi. But I also want to retrieve the value from database (i.e. meaning of word) and even the word which the user wants to view. I want to know that how the values can be retrieved in Hindi language by localisation in windows forms or anything else.

Thanks in Advance !!!

推荐答案

此问题与本地化无关,这只是使用以不同语言编写的UI来开发高度可支持的应用程序的一种方式.可插拔方式.

您的问题要困难得多;并且没有通用的解决方案,有一些可用的Dictionary项目.如果您还想通过描述单词的含义来获得一个单词(使用相同语言或使用另一种语言甚至没有多大关系),这是一项复杂得多的任务,而不是字典,而更像是专家系统( http://en.wikipedia.org/wiki/Expert_system [ http://en.wikipedia. org/wiki/Defining_vocabulary [ ^ ])纸.一个人可以很容易地用它来回答这是什么意思?"的问题,但是您不能将它用于反问题,而是要回答这个问题:是否可以用一个词来表达以下概念……?".而且,根据我的经验,即使使用专家系统这样的专家工具来解决这一反问题也是非常成问题的:当我提出一个概念并问某人您能用您的母语用一个词来表达吗? "大多数人会感到困惑,并且很难找到并回答,即使他们可能非常了解这个词:如果我碰巧知道答案并问这个词是什么意思?"他们立即意识到这一点.那么,您要从计算机系统中得到什么?

我想说的是,如果您亲自构建一个可以解决此类问题的系统,无论使用哪种语言,它都可能使您成为世界上最著名的计算机科学家之一.想要尝试吗?

—SA
This problem has nothing to do with localization, which is only a way to develop highly supportable applications with UI written in different languages in a pluggable manner.

Your problem is much more difficult; and there are no common solutions, there are some available Dictionary projects. If you also want to get a word by description of its meaning (it does not even matter much if it is in the same language or a different one), this is much more complex task, not a Dictionary but more like an expert system (http://en.wikipedia.org/wiki/Expert_system[^]). To get an idea why this is difficult, consider a conventional Defining vocabulary (http://en.wikipedia.org/wiki/Defining_vocabulary[^]) printed on paper. One can easily use it to answer the question "what does this work mean?", but you cannot use it for inverse problem, to answer the question: "is it possible to express in one word the following concept...?". Moreover, in all my experience, even using as an expert system such an advanced instrument as human intellect for solving this inverse problem is highly problematic: when I formulate a concept and ask someone "can you express this in one word in your native language?" most people get confused and have hard time trying to find and answer, even when they might know this word very well: if I happen to know the answer and ask "what does this word mean?" they immediately recognize it. So, what do you want from a computer system?

I would say, if you personally build a system which can solve such problems, no matter in what language(s), it might make you one of the most famous computer scientists in the world. Care to try?

—SA


这篇关于使用c#.net创建本地化的Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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