UI Language

Add-in Express™ Support Service
That's what is more important than anything else

UI Language
 
Cédric Peruzzi




Posts: 12
Joined: 2007-11-16
Hi,

Is there a way to know the language ui of the hosts application (excell, word or outlook)?

Best regards
Posted 04 Mar, 2008 05:51:14 Top
tomer st


Guest


See this...



    Sub detectOutLookLanguage(ByVal OutlookApp As Object)

        Const UI As Byte = 2

        Select Case OutlookApp.LanguageSettings.LanguageID(UI)
            Case 1049 'Russian
                m_language = eLanguage.elRussian
            Case 1037 'Hebrew
                m_language = eLanguage.elHebrew
            Case Else '1033 'English
                m_language = eLanguage.elEnglish
        End Select

    End Sub
Posted 04 Mar, 2008 06:15:42 Top