如何使用C#Windows应用程序转换语言? [英] how to onvert the language using c# windows application?

查看:75
本文介绍了如何使用C#Windows应用程序转换语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建销售帐单表格.如果单击打印"按钮,则打印形式为com.我想将英语以该打印形式转换为另一种语言.

i create a sales bill form. If click the print button the print form will com. i want to convert the English language to another language in that print form

推荐答案

根本不用考虑!
机器翻译目前还算不错,但是它是一个专业领域,并且在将非自然"语言翻译成英文方面确实不是很好.您在发票上使用的语言是不自然的,并且可能翻译得很差.

如果您可以坚持使用一些常用短语,进行正确的翻译,然后将其自己插入打印表格,则应该没问题.

如果要翻译不同国家/地区的发票,请注意,有关内容的法律要求也可能会发生变化.
Don''t even think about it!
Machine translation is not too bad at present, but it is a specialized field, and is really not very good at translating "un-natural" language to / from English. The kind of language you get on an invoice is not natural, and would probably translate badly.

If you can stick to a few stock phrases, get them properly translated, and insert them yourself in your print form, you should be ok.

If you are translating the invoices for different countries, be aware that the legal requirements as to the content may also change.


在打印表单中:通过设置
System.Threading.Thread.CurrentThread.CurrentUICulture转到其他CultureInfo.
要更改日期,货币等的格式,请使用
System.Threading.Thread.CurrentThread.CurrentCulture.
In the print form: change the language displayed at runtime by setting
System.Threading.Thread.CurrentThread.CurrentUICulture to a different CultureInfo.
To change formatting for dates, currency, etc..., use
System.Threading.Thread.CurrentThread.CurrentCulture.


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

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