[Mapbuilder-devel] I18N: hard-coded messages in MapBuilder

Cameron Shorter cameron.shorter at gmail.com
Thu Nov 30 20:44:45 EST 2006


Gertjan,
I'm forwarding your message onto the webmap-discuss list which has 
people from other webmapping projects on it as well.

webmap-discuss,
Have others thought about multilingual support, and if so, how are you 
addressing it?

Gertjan van Oosten wrote:
> As quoted from Robert Coup <robert.coup at onetrackmind.co.nz>:
> 
>>>>>Is anyone aware of such a message formatting library in JavaScript?
>>
>>Dojo (dojotoolkit.org) has quite comprehensive i18N support - it might 
>>be a good place to start looking.
> 
> 
> Dojo is nice, but it lacks support for message formatting, it only does
> I18N lookup based on message keys, as far as I know.  See e.g.:
>   http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book80
> 
> But hey, if we combine that with:
>   http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5480&lngWId=2
> (very straightforward approach, only replaces positional parameters, no
> conditionals) we are at least underway.
> Note that this code has a nasty copyright limitation:
> 
>   2) You MAY NOT redistribute this code (for example to a web site)
>   without written permission from the original author. Failure to do so is
>   a violation of copyright laws.   
> 
> so perhaps someone from the team should ask the author (Yossi Admon) for
> permission to include it in MapBuilder before we go down this route?
> 
> Regards,


-- 
Cameron Shorter
http://cameron.shorter.net




More information about the Mail_webmap-discuss mailing list