Ask the Expert

Managing multiple languages

In Windows you can change from one language to another by pressing the ALT+SHIFT keys. I have certain forms in which there are mixed textfields. Some of them should be in Language A others in Language B. I need a subroutine that changes the language based on the kind of the field (getfocus maybe) so that the user does not have to manually change the language. I guess my question is: is there a way to simulate the pressing of the ALT+SHIFT keys using code?

The languages are:
Armenian, English which are left-to-right languages and arabic which is right-to-left

Thank you in advance.
Frankly, I feel that a better solution would be to localize your Web or Win application, thus allowing the user to select their language of choice from the start. Forcing the user to deal with multiple languages may not be a very user friendly means of communicating with your target audience.

You can learn more about localization here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vxoriGlobalizationLocalizationNamespaces.asp

This was first published in August 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: