Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Remove unused translations ?
Remove unused translations ? [message #735391] Tue, 11 October 2011 16:48 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
After big modifications in my application, I have a lot of unused translations entries (most of it is garbage).

Is there a possibility to detect (and to remove) all unused Text translations defined in the I18N properties files (Texts_de.properties, Texts.properties, ...) ?

I am looking for some Scout SDK support (maybe in the nls editor ?) or for any other kind of scripts.

Re: Remove unused translations ? [message #735548 is a reply to message #735391] Wed, 12 October 2011 07:20 Go to previous messageGo to next message
Eclipse UserFriend
Open the NLS Editor execute the 'Show NLS entry usage' context menu on
any entry. In the first column the number of references to a certain
entry is displayed.
Furthermore you are to find the usage in your code with the 'Find
references to 'aKey'' context menu.

/andreas

On 11.10.2011 18:48, jbr wrote:
> After big modifications in my application, I have a lot of unused
> translations entries (most of it is garbage).
>
> Is there a possibility to detect (and to remove) all unused Text
> translations defined in the I18N properties files (Texts_de.properties,
> Texts.properties, ...) ?
>
> I am looking for some Scout SDK support (maybe in the nls editor ?) or
> for any other kind of scripts.
>
>
Re: Remove unused translations ? [message #753440 is a reply to message #735548] Thu, 27 October 2011 09:26 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
No Message Body
Re: Remove unused translations ? [message #753441 is a reply to message #753440] Thu, 27 October 2011 09:28 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Thanks for your answer. Do you know if there is a possibility to have some kind of script?

If "entry usage" == 0
then remove the text entry.

This script could use the SDK or not...

Previous Topic:Security with JAAS
Next Topic:Javadoc / Eclipse help
Goto Forum:
  


Current Time: Tue May 14 19:51:09 GMT 2024

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

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

Back to the top