Jump to content
Developer Wiki and Function Reference Links Read more... ×
Stefan Bender

Localized name of plug-in?

Recommended Posts

Hi there,

 

how can I find out the localized name of a plug-in (not the one that is currently running) if I only have its universal name? There is an SDK function GetLocalizedPluginName but it is faulty and just returning the universal name. Thanks for any help!

Share this post


Link to post

Has the Plug-Ins a localized named at all? Tools, menus, objects have translations, but Plug-Ins? (At least in C++, I do not think that they have any.)

Edited by Nicolas Goutte

Share this post


Link to post

If I remember well, a few years ago, I tried to get that translated name too... and I have not found a way. So, unfortunately, I am not the one who can help.

Share this post


Link to post

I think GetLocalizedPluginName() refers to plug-in object. I think the assumption is that you would not usually present the name of a randomly selected menu or tool to the user, unlike with PIO’s where you may need to process a user-selected object. For any calls you would use either the IID or the universal name. 

 

If you’re trying to get the localized name of a specific menu or tool, you can always get the resource string using the full path. For core menus, for example, just explore VectorWorks.vwr and find the file and resource ID of the tool or menu you want. This is even easier if the tool or menu is in your own .vwr

Share this post


Link to post

Hi Joshua,

 

thanks for your reply. But the problem is to get the localized name (title) if I only have the universal name but no other information such as location of string "resources".

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×