Click here to Skip to main content
15,910,603 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
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
Posted

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.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900