Diego,

With the work being done for the I18n patch, 
http://trac.openlayers.org/ticket/109, that would get changed to:

innerHTML = OpenLayers.String.translate('scaleTemplate', number);

And then there would be an Italian string resource file with the 
translations:
OpenLayers.Strings['it'].scaleTemplate = 'scala 1:{0}'

Details of how it's implemented may change, but the concept is being 
worked on.

Mike

Diego Guidi wrote:
> I'm checking the source of the scale control, and i see that the
> innerHTML is something like:
> innerHTML = "Scale: " + number;
> I think that a better behavior is to return only the numeric value, so
> the user could customize the text value (as example using italian
> text).
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
>   
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to