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

Bug 435040

Summary: Perspective name not localized in SelectPerspectiveDialog
Product: [Eclipse Project] e4 Reporter: Alexander Baranov <achilles-86>
Component: LanguagesAssignee: Project Inbox <e4.languages-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
SelectPerspectiveDialog in action
none
patch none

Description Alexander Baranov CLA 2014-05-16 05:57:29 EDT
Created attachment 243162 [details]
SelectPerspectiveDialog in action

I'm using eclipse platform in compatibility mode. I declare one perspective as an extention point and another as a snippet of EModel of my application. I see that picture when open SelectPerspectiveDialog by clicking 'Other' button on a perspective stack.
Comment 1 Alexander Baranov CLA 2014-12-30 05:01:54 EST
Nobody interests this issue... (

It is because of the org.eclipse.ui.internal.registry.PerspectiveRegistry, in postConstruct method (line 76):
	String label = perspective.getLabel();
It must be:
	String label = perspective.getLocalizedLabel();

How can I manually do this? Even if for my applycation only? (without of hacking internal plugins code) May be I must implement my own PerspectiveRegistry? But how shall I register it?
Comment 2 Alexander Baranov CLA 2014-12-30 07:28:21 EST
Created attachment 249658 [details]
patch
Comment 3 Alexander Baranov CLA 2015-01-14 07:26:51 EST

*** This bug has been marked as a duplicate of bug 456708 ***