[josm-dev] i18n: Howto change "Zoom menu entries"

Sven Anders sven at anders-hamburg.de
Sat Dec 8 06:56:16 GMT 2007


Am Freitag, 7. Dezember 2007 10:41 schrieben Sie:
> Hi,
>
> > In: trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java
> > You will find the following lines:
>
> [...]
>
> > This works not for the German language, because I want to translate as
> > folowing:
>
> Are you planning to translate the help pages as well, or will they be
> left as they are for the time being?

Pehabs someone in the talk-de Mailinglist will do that. I have not enough time 
to do this. I will ask there!

>
> > Zoom to data -> Zu den Daten zoomen
> > Zoom to layer -> Zur Ebene zoomen
> > Zoom to selection -> Zur Auswahl zoomen
> > Zoom to Conflict -> Zum Konflikt zoomen
> >
> > I also do not like this that the Key Shurtcut is defined in dis
> > class but the
> > Mode is given in a constuctor. Should we have 5 Classes?  One
> > Baseclass and a
> > Class for data, layer, selection und conflict zooming?
>
> I'd suggest to take a low-profile approach for now and make a
> compromise. If I am not mistaken, then the German translations
> "Zoomen auf Daten", "Zoom auf Ebene", "Zoom zu Auswahl", "Zoom zu
> Konflikt" would work perfectly with the existing code? In the long
> run (especially when we get Arabic translations...) we will probably
> have to change some things for proper i18n, but in the mean time I
> suggest not to bloat the code too much if it is avoidable without the
> translation being ugly.

Zoom to {0} -> Zoom zu {0} or
Zoom to {0} -> Zoom auf {0} 


I do not understand: What will you change, that it is posible to translate it 
like this?



Sven




More information about the josm-dev mailing list