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

Frederik Ramm frederik at remote.org
Fri Dec 7 09:41:00 GMT 2007


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?

> 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.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'






More information about the josm-dev mailing list