Peppe,

On 22.03.2017 11:59, Giuseppe Aruta wrote:
> Hi Ede,
> I like the new org.openjump.advancedtools.language.I18NPlug

glad you like it. after all we have a working I18N implementation already. no 
need for duplicated code.

> I will try to use on all my other plugin.

yeah, a thin wrapper really makes it easy to replace an older implementation, 
initially i needed it for wfs, but it also came in handy when integrating the 
proxy panel from Kosmo3 (org.saig.jump.lang.I18N)
 
> Right a question.
> 
> Is it possible to implement the code <the File path> in the way that it is 
> related to both plugin and main OJ language files?

well, yes. currently these name spaces are completely separate, but it's a good 
idea to look into OJ's translation after nothing was found, especially if we 
may want to reuss keys ;)

> For instance (CAD tools) , it checks a language string into 
> "org/openjump/advancedtools/language/cadtoolbox" files, if it doesn't find 
> it, it checks into "jump" files.

how about after 1.11? ..ede

> 
> Peppe
> 
> 2017-03-22 11:10 GMT+01:00 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>>:
> 
>     On 21.03.2017 21:42, Michaël Michaud wrote:
>     > Hi,
>     >
>     > You're right, there are many duplicates (and I must admit I recognize 
> several plugins of mine).
>     >
>     > Removing all duplicates would be a very big effort.
> 
>     bad idea. we've got enough on our plates as it is.
> 
>     > But as a first step, we could add keys for common messages and 
> encourage people to use it for new plugins or to clean existing plugins when 
> they are revised.
> 
>     additionally we could relatively easy implement a key re-usage along the 
> lines of
> 
>     generic.layer=Layer
>     plugin.does.stuff.layer={generic.layer}
> 
>     ..ede
>     >
>     > Michaël
>     >
>     >
>     > Le 21/03/2017 à 20:26, Giuseppe Aruta a écrit :
>     >> Sorry Ede.
>     >>
>     >> Looking for "source" string, I just noted that in  OJ language files 
> we have some strings which look like duplicates:
>     >> for instance:
>     >> 
> org.openjump.core.ui.plugin.tools.JoinAttributesSpatiallyPlugIn.source-layer
>     >> org.openjump.core.ui.plugin.tools.MakeValidPlugIn.source-layer
>     >> org.openjump.core.ui.plugin.tools.RemoveSpikePlugIn.source-layer
>     >> 
> org.openjump.core.ui.plugin.tools.generate.LinearReferencingOnLayerPlugIn.source-layer
>     >> ui.plugin.analysis.DissolvePlugIn.source-layer
>     >> ui.warp.WarpingPanel.source-layer
>     >>
>     >> I wonder if they have been (or they must be)  translated in different 
> ways in some language.
>     >> best regards and thanks
>     >> Peppe
>     >>
>     >> 2017-03-21 20:01 GMT+01:00 <edgar.sol...@web.de 
> <mailto:edgar.sol...@web.de> <mailto:edgar.sol...@web.de 
> <mailto:edgar.sol...@web.de>>>:
>     >>
>     >>     On 21.03.2017 19:39, Giuseppe Aruta wrote:
>     >>     > - Cadtools check codes: yes there must be already into Jump 
> language files:
>     >>     > yes there are. This is  what remains of a previous version of 
> Cad tools
>     >>     > (where I didn't use OJ check system). I did a clean up before to 
> add to
>     >>     > repository but I forgot to remove some codes. Hopefully I wanted 
> to do a
>     >>     > better clean up on next version: I was waiting somebody who was 
> helping me
>     >>     > to find them. Jus don't add them: I wil provide to clean before 
> next real.
>     >>     > comparing to german language file
>     >>
>     >>     too late.. ede
>     >>
>     >>     
> ------------------------------------------------------------------------------
>     >>     Check out the vibrant tech community on one of the world's most
>     >>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     >>     _______________________________________________
>     >>     Jump-pilot-devel mailing list
>     >>     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net> 
> <mailto:Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>>
>     >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>>
>     >>
>     >>
>     >>
>     >>
>     >> 
> ------------------------------------------------------------------------------
>     >> Check out the vibrant tech community on one of the world's most
>     >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     >>
>     >>
>     >> _______________________________________________
>     >> Jump-pilot-devel mailing list
>     >> Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>     >
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     > Check out the vibrant tech community on one of the world's most
>     > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     >
>     >
>     >
>     > _______________________________________________
>     > Jump-pilot-devel mailing list
>     > Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>     >
> 
>     
> ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Jump-pilot-devel mailing list
>     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to