John McClenahan and I have been working on an extension in which we want to let a user choose a language other than the one from the installed version of SketchUp. We envisioned this as a way to deal with situations in which we haven’t worked up a translation for a language yet (because we don’t know anything about, e.g., Chinese) and have a user who knows, say, French but not English. By letting them specify French, our extension would become more usable. We have a working version that lets a user specify and save a supported choice as default. That choice takes over in all of our text content the next time SketchUp is restarted.
We were looking for a way to cause changes to take effect immediately instead of having to restart SketchUp, but are coming to believe that is not possible for menu text and toolbar tooltips. I can access the UI::Commands that were originally used when items were added to the menus and toolbar, and can modify the properties of these Command objects. But doing so has no effect on the menu or toolbar, as if the properties were duplicated across to the menu and toolbar and detached from the Command object.
So, I’m looking for either confirmation that this is impossible or insight about how to make it happen.