Provides access to the host's UI locale services to manage dialog box string localization.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")> _
Public Interface IUIHostLocale2 _
    Inherits IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
public interface IUIHostLocale2 : IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute(L"2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
public interface class IUIHostLocale2 : IUIHostLocale
[<InterfaceTypeAttribute()>]
[<GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")>]
type IUIHostLocale2 =  
    interface 
        interface IUIHostLocale 
    end
public interface IUIHostLocale2 extends IUIHostLocale
The IUIHostLocale2 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | GetDialogFont | Returns the dialog box font used for the host UI. | 
| .gif) | GetUILibraryFileName | Returns a UI library (DLL) file. | 
| .gif) | GetUILocale | Returns the UI locale identifier of the host. | 
| .gif) | LoadDialog | Loads a dialog box template. | 
| .gif) | LoadUILibrary | Retrieves an HINSTANCE of the satellite DLL from which to obtain the localized strings. | 
| .gif) | MungeDialogFont | Indicates the dialog box template to use. | 
Top
Remarks
This interface is required only when accommodating foreign-language strings provided in a satellite DLL.