The Microsoft Foundation Classes (MFC) AppWizard or MFC Application Wizard in Visual C++ does not generate resources in sublanguages (148436)
The information in this article applies to:
- Microsoft Visual C++ 4.0
- Microsoft Visual C++ 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q148436 Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. Microsoft Visual C++ 2005 supports both the managed code model that
is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. SYMPTOMS The Microsoft Foundation Classes (MFC) AppWizard or MFC
Application Wizard in Visual
C++ .NET or in Visual C++ 2005 does not generate
resources in sublanguages if the language setting of the operating system is
set to a sublanguage instead of one of the five standard languages that Visual
C++ supports. CAUSE AppWizard or Application Wizard does not allow selection of
sublanguage during application creation. If the language setting of the
operating system is set to a sublanguage instead of a standard dialect,
AppWizard or Application Wizard does not use that information. RESOLUTION Change the "Language Settings" property for the resource to
match the exact language setting for the operating system. To do
this for a dialog resource:
- Right-click the dialog's name in Resource View, and then click Properties.
NOTE: in Visual C++ .NET you can select multiple resources with
Shift-click. In previous versions, this could cause the IDE to
crash. - In Dialog Properties window, change Language Settings to match the current setting for the operating system.
Visual C++ .NET
or Visual C++ 2005: In the Properties window, choose a value from the Language property drop-down list to match the current setting for the
operating system. If the Properties window is not visible, from the View menu, select Properties Window.
As an alternative, you can create a new copy of the resource in
some other language by following these steps:
- Right-click the dialog's name in Resource View, and then click Insert Copy.
- In the Insert Resource Copy window, select the Language that exactly matches the language setting of the operating
system.
STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 1/17/2006 |
---|
Keywords: | kbLocalization kbNoUpdate kbprb kbResource kbwizard KB148436 kbAudDeveloper |
---|
|