B
BBD
Hi all,
Is there any good link for Visio add-in localization? I have created my
Visio add-in MyTest project using Visual Studio 2005 project template "New
Project / Visual C# / Office / 2007 Add-ins / Visio Add-in". This template
generated (among others) files Resources.resx and ThisAddIn.cs. MyTest
application setup project was created by this template too.
My problem is: after I have created new resource file Resources.fr-FR.resx
and included it into my add-in project , I observe following things:
-- when I start Visio within my Visual Studo 2005 environment, English or
French strings correctly appear in MyTest add-in dialogs, shapes strings
etc, dependently on Regional Settings in Control Panel (Windows XP).
-- if I install my add-in as an independent software package with Setup
application, generated by MyTestSetup project, then Visio does not show
localized strings (only English), no matter what I do in my code.
To localize my add-in I use following statement in the add-in Startup method
code:
Resources.Culture = System.Globalization.CultureInfo.CurrentCulture;
Do I do something wrong? What is a "best practice" to localize Visio add-in?
Any help or links about that would be greately appreciated...
Thanks,
BBD
Is there any good link for Visio add-in localization? I have created my
Visio add-in MyTest project using Visual Studio 2005 project template "New
Project / Visual C# / Office / 2007 Add-ins / Visio Add-in". This template
generated (among others) files Resources.resx and ThisAddIn.cs. MyTest
application setup project was created by this template too.
My problem is: after I have created new resource file Resources.fr-FR.resx
and included it into my add-in project , I observe following things:
-- when I start Visio within my Visual Studo 2005 environment, English or
French strings correctly appear in MyTest add-in dialogs, shapes strings
etc, dependently on Regional Settings in Control Panel (Windows XP).
-- if I install my add-in as an independent software package with Setup
application, generated by MyTestSetup project, then Visio does not show
localized strings (only English), no matter what I do in my code.
To localize my add-in I use following statement in the add-in Startup method
code:
Resources.Culture = System.Globalization.CultureInfo.CurrentCulture;
Do I do something wrong? What is a "best practice" to localize Visio add-in?
Any help or links about that would be greately appreciated...
Thanks,
BBD