Click here to Skip to main content
15,908,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am able to change the language at runtime of one form, im wondering how to change the language on the other forms of the application, once the initial change has occured?

Thanks

What I have tried:

I can change the language of one form after a button has been clicked, im not sure how to carry the change over.
Posted
Updated 24-May-16 23:24pm

1 solution

Store the language choice in the Session, a Cookie, or a DB entry associated with that particular user. For non-web based, use the DB, or store it in the application settings.
Then in your Page Load or Form Create code you check the required language, and off you go.
I'm assuming this is WinForms - in which case it's probably easiest to use the application settings: Managing Application Settings (.NET)[^] will explain how to use them.
 
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