翻译没有不同形式的.NET应用程序 [英] Translate .net application without different forms

查看:107
本文介绍了翻译没有不同形式的.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算翻译的.NET 2.0应用程序不同的语言。对于我启用了各种形式的本地化属性。与现在的问题是,我必须适用于支持的每种语言更改用户界面。有没有办法只是翻译的按钮,标签等字幕没有翻译的当前位置,大小等?我认为它更容易适应形式一次,不是所有的语言都保持每一种语言的布局之后。
谢谢!

I plan to translate an .net 2.0 application to different languages. For that I enabled the localizable attribute in every form. The problem with that is, that I have to apply changes to the UI in every language supported. Is there a way to just translate the captions of buttons, labels etc. without "translating" the positon, size etc? I think its easier to fit the forms to all languages once and not to have to maintain every language's layout afterwards.
Thank you!

推荐答案

看看的本地化页面MSDN上的这里在这里(旧的.NET 1.1页)这里(新的.NET 3.5页)

Take a look at the Localisation pages on MSDN here and here (older .NET 1.1 page) and here (newer .NET 3.5 page).

基础知识是创建单独的 RESX 文件要支持只要您设置正确。NET将挑选出哪一种语言是需要每种语言

The basics is that you create separate resx files for each language you want to support and as long as you set it up correctly .NET will sort out which language is needed.

这篇关于翻译没有不同形式的.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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