Question How can i have multiple languages within my application

Haxaro

Well-known member
Joined
Mar 13, 2009
Messages
105
Programming Experience
1-3
I have an application that has gone quite big, and i have some friends in other countries that want translations for it... How could i include the information within the program so that if i want to run the program in english, i can, or in french / german etc.

Would i have to create a setting for every button, textbox etc, so that the text in the control is the language is what they want, so if i want the application in french, i can click french and it changes the whole app into french etc. There could be up to 16 different languages...

Easiest way?
 
You configure your controls to load their text from your resources. You then create a separate resource file for each culture. A culture is basically a country/language pair. The app will then automatically load the correct resources based on the current culture settings of system.

For more information you should read about globalization and localization on MSDN. Globalization is the act of making your app support multiple cultures, i.e. read control text from resources. Localization is the act of making your app support a specific culture, i.e. adding a resource file for that culture.

globalization localization - MSDN Search
 
Back
Top