Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to change the language of Minimize/Maximize button in a PartStack?
How to change the language of Minimize/Maximize button in a PartStack? [message #1768409] Tue, 18 July 2017 11:59 Go to next message
hf z is currently offline hf zFriend
Messages: 3
Registered: July 2017
Junior Member
I am a RCP E4 developer. And I need to internationalize my app.In fact, I have finished most of the work.But I can't find a way to change the language of Minimize/Maximize button in a PartStack(as show in the image). I have googled a lot but find nothing useful. Anyone can help me?
index.php/fa/30030/0/
  • Attachment: min.png
    (Size: 90.60KB, Downloaded 122 times)

[Updated on: Wed, 19 July 2017 10:05]

Report message to a moderator

Re: How to change the language of Minimize/Maximize button in a PartStack? [message #1769658 is a reply to message #1768409] Wed, 02 August 2017 13:01 Go to previous message
Gernot Neppert is currently offline Gernot NeppertFriend
Messages: 3
Registered: August 2017
Junior Member
Hi,

what you need to do is create a fragment for the host plugin "org.eclipse.swt".

Within that fragment, you need to put a file SWTMessages.properties with the locale-specific suffix for your desired language into the package org.eclipse.swt.internal.

In order not to miss any resource-keys, you should copy the original file from the platform-specific swt-fragment that you're using, e.g. org.eclipse.swt.win32.win32.x86_64_3.105......

I really think there should be ready-made fragments like that out there, but when I was facing your problem, I couldn't find any.

Good luck!
Previous Topic:"Ghost frame" almost invisible when moving ViewPart
Next Topic:PartSashContainer inside Placeholder - minimalize problem
Goto Forum:
  


Current Time: Tue Nov 21 15:57:39 GMT 2017

Powered by FUDForum. Page generated in 0.01604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software