Hi, On Dec 12, 2007 1:49 PM, Veldkamp, Berend <[EMAIL PROTECTED]> wrote: > The scalebar now uses a hardcoded comma as thousands separator and a period > as decimal separator. I'm not sure if there's some international standard > for displaying scale values, but otherwise: shouldn't it depend on whatever > the "language" variable is set to?
Of course you are right, but Mapbuilder currently has no localization (l10n), only internationalization (i18n) functionality. Furthermore, since a scalebar based on the same source (Tim Schaub's scalebar) will be part of OpenLayers 2.6, I do not have a strong urge to fix this in Mapbuilder now, because after the 1.5 release we will most certainly switch to the OpenLayers scalebar. But if you want to contribute a fix for that, your patch will be gladly accepted. Since Mapbuilder currently only supports a handful of languages, this could be solved using widgetText properties and reading them from the widgetText.xml file using xpath. Regards, Andreas. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
