Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350954 - e4 XMI content type labels unexternalized
Summary: e4 XMI content type labels unexternalized
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.2 M7   Edit
Assignee: Oleg Besedin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 13:10 EDT by Kit Lo CLA
Modified: 2012-05-01 14:31 EDT (History)
1 user (show)

See Also:


Attachments
Screen capture (41.77 KB, image/png)
2011-07-01 13:10 EDT, Kit Lo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.