Live Chat Icon For mobile
Live Chat Icon

What are the steps to compiling and using multiple language resources

Platform: WinForms| Category: Resources

Localization Sample illustrates how to load different language resources depending upon a parameter passed in when you run the program from a command line. The sample can display English, French, Spanish and German words using the same exe. For example, typing Test de on the command line will count to three in German. Typing Test fr will count to three in French. The argument passed in is used to determine the culture setting for the resources.

In each folder is a batch file that handles compiling the single exe and multiple resources. The tools RESGEN and AL are used in these batch files to generate the resources and resource DLL’s. Notice the naming conventions used by the subfolders containing the foreign resource DLLs.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.