[OpenLayers-Dev] status of translation possibilities

Jachym Cepicky jachym.cepicky at gmail.com
Thu Oct 18 09:58:42 EDT 2007


Bart van den Eijnden (OSGIS) píše v Čt 18. 10. 2007 v 15:44 +0200:
> Hi Chris,
> 
> I think it is acceptable to have a global setting. I can't imagine a 
> common use case (for myself) where one map would be in English and 
> another one in Dutch on the same page. It is important though that it is 
> possible to switch languages.
> 
+1

jachym

> Best regards,
> Bart
> 
> Christopher Schmidt schreef:
> > 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?  
> >
> > Regards,
> >   
> 
> 
-- 
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20071018/de094b6e/attachment.bin


More information about the Dev mailing list