History: MultilangVsNetQuickTourMFC

Preview of version: 1

Multi-Language Add-In for Visual Studio

Quick Tour (Unmanaged C++ and MFC)

Support for unmanaged C++ and MFC projects is only available in the Add-In version for Visual Studio 2005/2008.

Activating the Multi-Language Add-In

After you have installed the Add-In, there will be a new menu item in the Tools menu in Visual Studio.

Image
This menu item activates the Add-In and shows it in a tool-window. You can dock this window at the side of the main Visual Studio window, or drag it into a tab group, like other tool windows in Visual Studio. It's probably best to place it at the bottom, in a wide format.
Image

Selecting a project

A Visual Studio solution may contain multiple projects. However, the Multi-Language Add-In always works with a single project. To get started, you must first select the project. There are two ways to do this.

from a dialogWhen you select the Add-In from the tools menu, it will probably show a list of the projects in a dialog.
Simply select the project and click on OK.
Image
This dialog can be disabled, so if somebody else has already worked with the Add-In, it might not appear.
from a drop down listAt the top of the Add-In's main window, just below the toolbar, there is a drop down project list
Image
You can select a different project at any time from this list.

Initialising the project for localization

The Add-In will automatically detect the languages defined in the resource script (.rc) file in your project. For a non-localized project, the resources will usually be defined for a single language. The Add-In assumes that the first language which it detects is the original language of the project.

In the unlikely case, that no languages are defined in the .rc file, you must specify what the original language of the project is. The Add-In will show a list of the languages supported by Windows.

Select the original language and click on OK.

(The buttons below the list change the way the list is displayed. In particular, the button English simply shows the language names in English. It does not select English in the list).
Image
This dialog will probably be followed by second dialog, with options for scanning the project. Just click on OK to accept the default options.
Image

The Add-In will now add three new files to your project.

<project name>_ml.xmlThis is the project database used by the Add-In.
mlstring.h + .cppThis module contains support functions, in particular the function ml_string(), which is used to load localized strings.


History

Information Version
Sat 17 of Jul, 2010 14:03 GMT Phil 14
Sat 17 of Jul, 2010 13:47 GMT Phil 13
Sun 10 of Jan, 2010 13:14 GMT Phil 12
Sat 09 of Jan, 2010 19:20 GMT Phil 11
Sat 09 of Jan, 2010 15:23 GMT Phil 10
Sat 17 of Jan, 2009 21:30 GMT Phil 9
Sat 17 of Jan, 2009 21:09 GMT Phil 8
Sat 17 of Jan, 2009 18:39 GMT Phil 7
Sat 17 of Jan, 2009 18:13 GMT Phil 6
Sat 17 of Jan, 2009 16:56 GMT Phil 5
Sat 17 of Jan, 2009 16:11 GMT Phil 4
Sat 17 of Jan, 2009 16:02 GMT Phil 3
Sat 17 of Jan, 2009 15:07 GMT Phil 2
Sat 17 of Jan, 2009 14:37 GMT Phil 1
  • 1
  • 2 (current)
  • »