Thanks for the information about internationalization. I'll do some
more reading on the topic.

SS

On 11/18/06, Steve Tanner <[EMAIL PROTECTED]> wrote:
> Hello Sunburned,
> The I18N method is contained inside the
> com.vividsolutions.jump.I18N.java package. You can look at the code to
> see how it works.
>
> The method simply fetches the value of the property called
> "ui.GUIUtil.jump-workbench-custom-cursor" from the resource file of the
> corresponding language (of your machine).
> If you look at the source of OpenJump, you will find a folder called:
> /language and in this folder you will find the language property files.
> The name of the properties are the same for all the languages, but their
> value is different for every language.
> If you need to add a new property (a new text string used for a menu
> item, etc.) you need to add it into ALL the property files, and by
> default put the english everywhere.
> The properties are classified under a strict order to ease the process
> of maintenance/corrections
> If a new property is created, it must be inserted at the same location
> in ALL the property files.
> If you have questions don't hesitate to contact me.
> Best regards,
>
> Steve
>
> So
>
>
>
> Sunburned Surveyor a écrit :
> > I'm so American and monolingual it isn't even funny. :]
> >
> > There is a line I've discovered in OpenJUMP's CursorTool code that I
> > know deals with Internationalization, but I'm not sure what it does. I
> > need to replicate this code as part of my refactoring, so I'd like to
> > understand what is is used for. I know that multi-language support is
> > an important part of OpenJUMP, and even though I haven't learned a
> > second language yet I want to make sure I maintain and improve
> > internationalization efforts in my work on OpenJUMP.
> >
> > Here is the code fragment:
> >
> > return Toolkit.getDefaultToolkit().createCustomCursor(image, hotSpot,
> >                       I18N.get("ui.GUIUtil.jump-workbench-custom-cursor"))
> >
> > The original method in JUMP left out the third argument in the call to
> > createCustomCursor(). This argument is
> > "I18N.get("ui.GUIUtil.jump-workbench-custom-cursor)".
> >
> > What does this method do, exactly?
> >
> > Thanks for the help.
> >
> > The Sunburned Surveyor
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to