|Re: Contributed MenuItems don't get translated sometimes [message #1754563 is a reply to message #1752814]
||Mon, 20 February 2017 10:35
| Marvin Stravinski
Registered: April 2016
I too am having issue trying to translate a "View Menu" tooltip on a View Menu of toolbar in an E4 Part. Also I can't seem to translate "Minimize" and "Maximize" text of an E4 Part even though I've added a Fragement, with Host of SWT and JFace plugins, but no translation seems to occur.
I'd be happy to hear any solutions on these translation issues myself.
All the best,
Nicolas Abbuehl wrote on Fri, 27 January 2017 15:23
currently I'm working on an Eclipse 4 RCP application. The application consists of multiple plugins which are localized with OSGI-INF/l10n/bundle.properties files.
One of these plugins' fragment.e4xmi contributes some menu items to the main menu bar which is controlled by another plugin. Those menu items are also nationalized.
However, on about half of the starts of my application, the contributed menu items would not translate and only show the translation identifier (something like %foo.bar). I've done some research with the model spy tool, which showed that sometimes the contributerUri is not set on the faulty menu items.
I'm not actually sure what causes the problem, especially the fact that it only occures on about half of the launches of the application seems unlogical to me.
I found this thread which describes a similar situation like mine but it seems that it is a different problem as the bug described in that thread was fixed a long time ago.
Does anyone have an idea what could be the problem? Could it be a bug in the Eclipse SDK?
Powered by FUDForum
. Page generated in 0.02719 seconds