我最好如何定位一个完整的应用程序,以多种不同的语言?应用程序、多种、完整、不同

2023-09-03 07:23:00 作者:笑傲一生

我在使用Visual Studio(2005及以上)。我期待到尝试制作一个应用程序,用户可以更改语言为所有menues,输入格式和等。我怎么会去这样做,因为我想有在.NET一些完整的功能,可以帮助我?

I'm using Visual Studio (2005 and up). I am looking into trying out making an application where the user can change language for all menues, input formats and such. How would I go on doing this, as I suppose that there is some complete feature within .Net that can help me with this?

我需要考虑以下账户(并填写我,如果我错过了一些明显的东西)

I need to take the following into account (and fill me in if I miss some obvious stuff)

在字符串(menu​​es,文本) 输入数据(分析花车,日期等) 应该很容易增加支持其他语言

推荐答案

经典的食谱是:设计,没有母语,但一个本地化工具的应用程序,并制定初始化成一种语言(如英语)。所以,你建立的应用程序,它定位成英文,每天晚上;没有定位的步骤,将无法使用。做到这一点很好,而对于初始样品本地化的资源可以替换为那些为任何其它的语言。考虑到从一开始就非罗马字母文字。这是干净多了有没有语言的应用程序,总是需要本地化,而不是特定于语言的应用程序,都需要有本地语言减去更换补充说。

The classic recipe is: design the app with no native language but a localization facility, and develop an initialization into one language (e.g., English). So you build the app and localize it into English every night; without the localization step it would not be usable. Do that well, and the resources for the initial sample localization can be replaced with those for any other language. Take into account non-roman scripts from the beginning. It's much cleaner to have a no-language app that always requires localization rather than a language-specific app that needs to have its native language subtracted and a replacement added.