Globalizing Windows Applications on vb.net

My form has richtextbox and combobox . the richtext field contains some data, and the combobox has the following elements, such as

english hindi gujrati marathi urdu 

Therefore, I want each user to select any of these languages, and then all Richtextbox data will be converted to the language that the user selected. I tried on google api, but I want to do it without internet connection.

Since all users do not have an Internet connection for some reason. Please help me.

+4
source share
2 answers

It is good to support multiple languages ​​in your applications by changing the text of the shortcut, etc. into the language required by the user, and it's easy too .. Because you know what words need to be translated. But don’t think that you can easily translate any random user input into any language on its own, and it’s too offline. Programs like Google translate use complex algorithms (rather than simple text replication) and rely on sites written on other languages ​​to choose the best match.

+1
source

If the text in Richtextbox is dynamic and either inserted by the user or modified by the user, then you can try FreeTranslator or Lingoes , although I don’t think I have an API that you can integrate with your application, and I'm not sure if they support 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 may lead you to additional information.

0
source

Source: https://habr.com/ru/post/1447142/


All Articles