Skip to main content


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: 4
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 570 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 messageGo to next 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!
Re: How to change the language of Minimize/Maximize button in a PartStack? [message #1811081 is a reply to message #1769658] Mon, 26 August 2019 15:37 Go to previous messageGo to next message
hf z is currently offline hf zFriend
Messages: 4
Registered: July 2017
Junior Member
Thanks a lot!
Re: How to change the language of Minimize/Maximize button in a PartStack? [message #1822680 is a reply to message #1811081] Wed, 11 March 2020 10:16 Go to previous message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 91
Registered: November 2011
Location: Berlin, Germany
Member
Hi,
maybe my answer is too late, but what might help you is this project:
https://www.eclipse.org/babel/
Previous Topic:Where Can I find the complete document of CSS properties of certain Widget.
Next Topic:Performance problems with large layouts in RCP application
Goto Forum:
  


Current Time: Fri Apr 26 17:26:52 GMT 2024

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

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

Back to the top