Quote Originally Posted by Krool View Post
I guess the richtx32.ocx does not localize it .. or am I wrong ?
Code:
2000 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
  POPUP "Context"
  {
    MENUITEM "&Undo\tCtrl+Z",  2104
    MENUITEM SEPARATOR
    MENUITEM "Cu&t\tCtrl+X",  2100
    MENUITEM "&Copy\tCtrl+C",  2101
    MENUITEM "&Paste\tCtrl+V",  2102
    MENUITEM "&Delete\tDel",  2103
    MENUITEM SEPARATOR
    MENUITEM "&Object",  2110
  }
}
Ooops! As usual it seems you were right and I was wrong.

I didn't know the source code for the MS control was available. Where did you get it?

That code clearly shows that the menu items labels are hardcoded. So there must be different versions of the ocx for each language (?). What a mess! I thought all the lanaguage dependent text was provided by the OS. Now I realize that some of the text could be provided by the runtime and some be hardcoded. Now I undestand the installation warning about the language supported by some controls / dlls.

My OSs (Windows 10 & XP) are Spanish. Most of the software I use is either Spanish or language agnostic. VB6 is Spanish. I don't have VB.NET installed now, but the version I used time ago (2008) was Spanish. So that's why the controls in the projects I download seem to be localized?

My conclussion: for compatibility with the MS control yours should support translations. That's overkill, isn't it? Maybe some resource file can be used if present? Or at least let the user create a custom menu calling the functions originally called by the default menu?

For my personal use (and I don't create distributable software) I don't mind having mixed Spanish & English (or even Italian or French) text, so for me everything's OK as it is now.

Thanks!