Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » [L10N] User defined message files
[L10N] User defined message files [message #1772286] Thu, 07 September 2017 14:03 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 235
Registered: July 2009
Senior Member
Hi all,
im using the @Translation service for translating my application labels. The message files are located in OSGI-INF/l10n. Works nice. Now, the users ask to replace one or more of these files by their own files, but they don't want to replace the files in application bundle jars. Is it possible to change the search path for these message files so that custom messages are found at first (e.g., in a user specific folder)?

TIA,
Ralf.
Re: [L10N] User defined message files [message #1772319 is a reply to message #1772286] Fri, 08 September 2017 05:24 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Have you tried to create a fragment for the bundle that contains the properties files. That fragment should contain replacements of the files they want to exchange, and as fragment and host bundle share the same classloader, this should have the effect you are searching for. At least that is my understanding.
Previous Topic:SWT Ribbon
Next Topic:KeyBinding with BindingContext not executed
Goto Forum:
  


Current Time: Thu Apr 18 23:05:19 GMT 2024

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

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

Back to the top