Matt,

  Cool.  Thanks a lot for the tip.  That way of writing it is even 
better, thanks.

Alexandre

Matt Priour wrote:
> You can also use the ExtJS style of managing locale/language settings.
>
> if you look at the ExtJS locale files (ext-lang-XX.js) they change the 
> default text properties in the component's prototype to a locale 
> specific string.
>
> in the SimplePrint example, rather than set the properties to the OL 
> i18n dictionary entry at instantiation, the ExtJS language file would 
> do the following:
>
> if(GeoExt.ux.SimplePrint){
>   Ext.apply(GeoExt.ux.SimplePrint.prototype, {
>      dpiText : <String in your language here>,
>      rotationText: <String in your language here>,
>      etc...
>    })
> } 

-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to