Re: [Kati-devel] XML Editor
Status: Pre-Alpha
Brought to you by:
nemcs
|
From: Francisco J. G. C. <mul...@gm...> - 2008-10-23 18:38:52
|
Ok got it will get to it. I have been studying other projects and have
seen how do the internationalization. I will try to give you the patch
ASAP.
Thanks
Frank
On Thu, 2008-10-23 at 18:31 +0200, Csaba Nemes wrote:
> On Thu, Oct 23, 2008 at 3:37 PM, Francisco Javier Garrote Cruz
> <mul...@gm...> wrote:
> > Hi,
> > I've done a quick internationalization of the kati project. The whole
> > code has been modified. The idea is for you to try it out and see that
> > the whole thing works. If you are happy with it I will go ahead and
> > organize the whole internationalization so it will be easier to update
> > and add new languages.
> > When you run the code with the spanish config you will see the Menu's
> > change name.
> > Also I would need a source code of the project with all the labels in
> > english. I will do the default language (english) and add a second
> > language (spanish).
> > Attached is the source code for the project.
> I have checked the code. (Sorry i havn't had it run yet.) I am happy
> that you are fast,
> and smart to solve a problem.
>
> What do you mean "organize the whole internationalization"? Probably
> we are speaking about the same thing.
> 1.
> I think we need a new class. Just for doing the
> ResourceBundle kBundle = java.util.ResourceBundle.getBundle("Bundle");
> initialization at start up. Every developer should be able to reach
> this class via kati reference, like KMessenger is also reachable.
>
> 2.
> You dont need to write(or generate) the English Bundle. We(developers)
> will write it together. And we have to organize it with comments,
> and we have to use well-structured keys. Like other projects. You can
> browse on the sf.net. Maybe this is what you meant with "organize". :D
>
> So, if its not a big question, create me a class. ;) Write some simple
> functions to wrap.
> Construct the class in the Kati main like KMessenger. And send me a patch.
> After that you get the rights to commit the patch, and you can improve
> your class... for example how can a user set the language, or how kati
> can remember for that...
>
> Go ahead! I am waiting for the patch.
> > I use Netbeans and am not
> > to good with Eclipse. To run the project in netbeans spanish version I
> > use the "VM Options: -Duser.language=es -Duser.country=ES
> Anyway, i will test it, and of course i will use your Bundle to search
> for the non-english words, and i will translate them. THX! ;)
> You can also wait for my translation commit. ;)
>
> > See you soon,
> > Frank
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Kati-devel mailing list
> > Kat...@li...
> > https://lists.sourceforge.net/lists/listinfo/kati-devel
> >
> >
>
>
>
|