Hi Don,
I wrote that I need to localize OpenMap becouse my client needs
Polish GUI. That was true a week ago. Because I have to release
first version till july I my client agreed to English GUI. I can move
localization effort to subsequent releases.
Now I have no time to make localization but I'd like to contribute
in the future. It would be nice to have localization support in 4.6 release,
I think.
Some technical questions:
If one .properties file is for one package it would contain something like
this:
className.key=value
"className" is unique because classes are uniqe inside package.
"key" might be "string_to_use" but what it that "string
_would_be_very_very_long_and_unconfortable_to_use"?
If localized class is for example JMenu it have only "name", "mnemonic" and
"tip" to set,
so key might be "name", "mnemonic" and "tip" - short and comprehensible.
What do you think?
I think also about parametrized strings, especially for messages. I think
that standard
mechanism uses %1 %2 fields to parametrize localized string with runtime
values.
Regards,
Piotr
----- Original Message -----
From: "Don Dietrick" <dietrick@bbn.com>
To: "Bart Jourquin" <bart.jourquin@fucam.ac.be>
Cc: "Piotr Kaminski" <Piotr.Kaminski@ctm.gdynia.pl>; <openmap-users@bbn.com>
Sent: Monday, June 09, 2003 8:46 PM
Subject: Re: [OpenMap Users] OpenMap localization
> Hi Bart,
>
> I seem to remember that we talked about a package-based solution - that
> is, a ResourceBundle per package - being the easiest solution to
> manage. Do you have an example of what a ResourceBundle would look
> like for a package, and how a class would access it for a particular
> language? Also, how to set up error handling if a string isn't found
> in a ResourceBundle?
>
> Seems like we would need to address labels, menus and ToolTips, to
> mention a few, spreading across various layer packages, the gui, event
> and proj packages.
>
> I don't think the modifications would take up much time, once the
> proper mechanism is defined. I'm in the process of finding out what it
> would take to get you and Piotr write access to our external CVS tree
> for the duration of this mini-project, so we could collaborate more
> easily.
>
> - Don
>
> On Monday, June 9, 2003, at 05:33 AM, Bart Jourquin wrote:
>
> > Piotr Kaminski wrote:
> >
> >> Hello,
> >> I'm going to make OpenMap GUI localization (for Polish language).
> >> I'm going to use ResourceBoundle mechanizm, and one property
> >> file for whole GUI interfaces.
> >> In official OpenMap sources there is no localization support,
> >> but I've head from Don, that some users are working on it.
> >> If someone has done OpenMap localization or is working on it
> >> please contact me or post information to openmap-users list.
> >> I'd like to know if there is some code I could use as a base version
> >> for Polish localization.
> >> Regards,
> >> Piotr Kaminski
> >>
> >> --
> >> [To unsubscribe to this list send an email to "majdart@bbn.com"
> >> with the following text in the BODY of the message "unsubscribe
> >> openmap-users"]
> >>
> >>
> > Hi Piotr,
> >
> > I have to confess that I promised to Don to work on localization some
> > months ago, but I couldn't fin the needed time resources due to
> > internal staff changes in my research group :-(
> >
> > My primary idea was to use JBuilder, that has a tool that is able to
> > "outsource" the strings to translate. I'v tested it with success on
> > some internal projects and it should also work with OpenMap. Having
> > write access to a BBN OpenMap CVS tree would also help...
> >
> > As I wrote to Don some days ago and I hope to have some time for this
> > at the end of June or the first week of July... But if you do the
> > work, it's obviously better for me :-)
> > In such a case, I could perhaps translate the resource bundles in
> > French.
> >
> > Best Regards
> >
> > Bart
> >
> > --
> > Prof Dr Bart Jourquin
> > F.U.Ca.M. - G.T.M.
> > Chaussee de Binche, 151a
> > B7000 Mons
> > Belgium
> > Tel. : +32 65 323293
> > Fax. : +32 65 315691
> > http://message.fucam.ac.be/~jourquin
> >
> >
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, BBN Technologies, dietrick@bbn.com
> 10 Moulton Street, Cambridge, MA 02138
> 617-873-3031 [fax]-2794
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jun 17 04:03:53 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:35 EDT