使用带有VSTO SE的Outlook 2003的Outlook AddIn安装程序部署resx文件 [英] deploy resx-files with Outlook AddIn Setup for Outlook 2003 with VSTO SE
问题描述
大家好
我为Outlook 2003编写了一个Outlook Addin。它只是菜单栏中的一个新的MenuItem 4个功能。每个函数都使用特定参数调用Commandoline。
I've programmed a Outlook Addin for Outlook 2003. It's only a new MenuItem in the Menubar with 4 functions. Every functions calls the Commandoline with spezific Parameters.
我遇到了一些不同语言的问题。我应该有德语,法语和意大利语的文本。所以我创建了三个resx文件。
I've some problems with the diffrent languages. i should have the text in german, french and italien. So i have created three resx files.
ThisAddIn.de-CH.resx
ThisAddIn.de-CH.resx
ThisAddIn。 fr-CH.resx
ThisAddIn.fr-CH.resx
ThisAddIn.it-CH.resx
ThisAddIn.it-CH.resx
我收到的文字是来自resx文件的ResourceManager。
I get the text by a ResourceManager from the resx- Files.
推荐答案
< p align = left>你不应该使用 Thread .CurrentThread .CurrentCulture来设置当前 UI 文化。
You shouldn't use Thread.CurrentThread.CurrentCulture to set the CurrentUICulture.
第一个是Windows中用于格式化数字,日期的区域设置。它不是Office应用程序的语言。
The first is the locale setting in Windows used for formatting numbers, dates. It is not the language of the Office application.
问候,
/ Klinkby
/Klinkby
>
这篇关于使用带有VSTO SE的Outlook 2003的Outlook AddIn安装程序部署resx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!