cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Localization issues

ptc-6220371
1-Newbie

Localization issues

Hi all.

We wrote plugin for Arbortext 6.1.

The issue 1:

We want to add our custom menu items to View (that is in menubar)

our plugin looks for .View menu item like that:

_window.MenuBar.Find(".View")

when we work for example under French locale we cannot find this menu. We want to add our menu independably on what locale currently is used.

Is it possible ?

The issue 2:

We don't want to add our menu to windows like "Parser Messages".

Right now we just compare text of window with this string:

((IComponent) window).Text != "Parser Messages";

so if window title equals to "Parser Messages" we do nothing

but for other locales it won't work due to different text

How can we solve it?

ACCEPTED SOLUTION

Accepted Solutions

Never mind.

We've found Application.GetLocalizedMessage(str) that covers all our needs

View solution in original post

1 REPLY 1

Never mind.

We've found Application.GetLocalizedMessage(str) that covers all our needs

Announcements

Top Tags