hi
this is my first post . this 1line code can be used by programers that want to switch between 2 or more languages in MSwindows by code.
thank to all of my friends in www.atropatgan.com/bforum/
leave a comment 4 me and help me do better in future ;)
Terms of Agreement:
By using this article, you agree to the following terms...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(System.Globalization.CultureInfo.CreateSpecificCulture("Fa"))
' just change the < FA > with any thing u want
you need to set the language option just like windows . for example my language is farsi but windows just set FA down there . you must install the selected language in windows regional setting first to do this . to run it . just make a command button and put the 1 line code in it .. simple
peace- (If this comment was disrespectful, please report it.)
FYI: what shows in the language bar isn't necessarily what you need to put in place of 'FA', for example I use Chinese (Taiwan) and Chinese (PRC) both show as 'CH' on the language bar but in order to change to chinese it needs to be 'zh-tw' and 'zh-cn' respectively. If you want Spanish (Mexico) you would need to use 'es-mx' (If this comment was disrespectful, please report it.)
(If this comment was disrespectful, please report it.)
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)