Md Nawaz
Md Nawaz

Reputation: 71

Globalization of windows application in vb.net

I have a richtextbox and combobox in my form. the richtext box contain some data and combobox has following items like

english
hindi
gujrati
marathi
urdu

So I want whenever user select any of these language then whole data of Richtextbox convert into that language which is user selected. I tried in google api but I want to do that without an internet connection.

Because all users don't have an internet connection due to some reasons. Please help me out.

Upvotes: 4

Views: 347

Answers (2)

farizrahman4u
farizrahman4u

Reputation: 464

Its ok to support multiple languages in your applications by changing the label text etc to the language required by the user and its easy too.. Because you know which words have to be translated.But dont think you can easily translate any random user input to any language all by yourself and that too offline.Programs like Google translate uses complex algorithms (rather than simple text replcement) and relies on websites written in other languages to chose the best match.

Upvotes: 1

Dan King
Dan King

Reputation: 1100

If the text in the Richtextbox is dynammic and either inserted by the user or modified by the user then you could try FreeTranslator or Lingoes, although I don't think either have an API that you can integrate with your application and I'm not positive if they support the languages you are looking for.

If the text is static, there are many resources available on how to do this, Hanselman has a good initial post and there are probably many links on the page that can lead you to further information.

Upvotes: 0

Related Questions