WPF: Adding New Languages

Although a new language typically represents an actual language such as French, German, or Spanish, it may actually be a variation on your original language that allows you to have different label text, tool tips and messages at different sites where your software is installed. For example, you may have a single accounting application you sell to the medical industry, used by both physicians and veternarians. You could use the localization features of MM .NET to create an English (Physician) localization and an English (Veterinarian) localization.

To add a new language to the application using a WPF user interface (you can also add languages using the Web Forms interface (Web: Adding New Languages), do the following:

  1. Launch the Languages maintenance window from the menu:

  2. Click the New button to add a new language:

  3. In the Language text box, enter the name of the new language (such as French, German, Spanish)

  4. In the Culture combo box, select the associated culture for the new language. The list of cultures is retrieved by calling the .NET Framework's CultureInfo.GetCulture(CultureTypes.AllCultures).

  5. Click OK to save the new language

Going back to the example of the Physician and Veterinarian localizations, you could add the following records to the Language table:

  • Physician (English)

  • Veterinarian (English)

You could then "translate" the application for each of these, changing the labels for Physicians and Veterinarians as needed.


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 12/02/07
Comment or report problem with topic