Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350954

Summary: e4 XMI content type labels unexternalized
Product: [Eclipse Project] Platform Reporter: Kit Lo <kitlo>
Component: UIAssignee: Oleg Besedin <ob1.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 4.2   
Target Milestone: 4.2 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screen capture none

Description Kit Lo CLA 2011-07-01 13:10:28 EDT
Created attachment 198980 [details]
Screen capture

Build ID: 4.1 I20110630-1005

The e4 XMI content type labels from the Preferences dialog are unexternalized.
Comment 1 Remy Suen CLA 2011-11-03 10:27:38 EDT
We can probably externalize the 'e4 XMI' one. Not sure about the other ones, I'm guessing they're provided by EMF.
Comment 2 Oleg Besedin CLA 2012-04-09 11:26:22 EDT
The current translation for 'e4 XMI' was not being picked up for some reason. In my development environment it seemed that PDE got confused with the extension id being "org.eclipse.e4.xwt.content-types" while the extension was in the "org.eclipse.e4.ui.workbench" bundle. 

I corrected that and one other little typo while I was in there:

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=bdc0ae9f9fd74aa3b789a581b9b6cd565cb78f7b

As for the rest of the labels, "XML Metadata Interchange (XMI)", "Ecore File", "EMOF File", they come from the EMF, namely "org.eclipse.emf.ecore.xmi" bundle.

Those look to be properly externalized, see the property file in that bundle:

_UI_XMI_content_type = XML Metadata Interchange (XMI)
_UI_Ecore_content_type = Ecore File
_UI_EMOF_content_type = EMOF File

I guess it is possible that your environment did not include pseudo-translation for EMF bundle(s).
Comment 3 Oleg Besedin CLA 2012-05-01 14:31:41 EDT
Verified in I20120430-1800.