Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Remove unused translations ?
Remove unused translations ? [message #735391] Tue, 11 October 2011 12:48 Go to next message
Eclipse UserFriend
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
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 05:26 Go to previous messageGo to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Sun Jul 27 03:32:17 EDT 2025

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

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

Back to the top