Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Remove unused translations ?
Remove unused translations ? [message #735391] Tue, 11 October 2011 12:48 Go to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 645
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 03:20 Go to previous messageGo to next message
Andreas Hoegger is currently offline Andreas Hoegger
Messages: 173
Registered: February 2010
Senior Member
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 05:26 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 645
Registered: October 2011
Senior Member
No Message Body
Re: Remove unused translations ? [message #753441 is a reply to message #753440] Thu, 27 October 2011 05:28 Go to previous message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 645
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:create permission
Next Topic:Javadoc / Eclipse help
Goto Forum:
  


Current Time: Wed Jul 30 21:29:50 EDT 2014

Powered by FUDForum. Page generated in 0.01569 seconds