[OpenLayers-Dev] status of translation possibilities

Paul Spencer pspencer at dmsolutions.ca
Thu Oct 18 10:34:56 EDT 2007

On 18-Oct-07, at 9:33 AM, Christopher Schmidt wrote:

> On Thu, Oct 18, 2007 at 03:23:50PM +0200, Jachym Cepicky wrote:
>> Hi,
>> I would like to ask about the status of OpenLayers language support.
>> There are not many strings, which could be translated, however,  
>> some are
>> there and IMHO we should (de)find a way, how to make this  
>> possible. Was
>> there some discussion to this topic?
>> IMHO, new map attribute "lang" should be defined, as well as new  
>> method
>> OpenLayer.Util.getOLString("English text") (or similar).
>> Any suggestions? Should I write something like this? Is there already
>> some code out there?
> No code yet, but I agree that now is the time.
> http://trac.openlayers.org/wiki/RFC/Internationalization
> Is my start at an RFC, which never went far enough.
> My belief is that we should make this a global setting, rather than a
> per-map configuration. This would mean you could not have multiple
> languages on the same page at the same time, but would also mean you
> don't need a reference to the map object in order to get a correct
> translation string. I don't know if the trade off is worth it. What do
> other people think?

I like this idea.  I think it would be useful to look at what others  
have done, specifically MapBuilder.  We have Cameron and Mike from  
MapBuilder actively participating in OL and there could be some good  
lessons learned from them.



|Paul Spencer                          pspencer at dmsolutions.ca    |
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |

More information about the Dev mailing list