Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

main map layer chooser untranslatable #1913

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

main map layer chooser untranslatable #1913

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: StefanB
[Submitted to the original trac issue database at 10.16pm, Wednesday, 3rd June 2009]

"Base layer" and "Overlays" come as defaults with openlayers, but they might be translatable.

Layer names for sure can be made translatable.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 7.44am, Thursday, 4th June 2009]

OpenLayers is already being translated (http://translatewiki.net/wiki/Translating:OpenLayers) so if you want to translate any of the builtin text I suggest doing it there.

Translating our layer names is certainly possible, but might be tricky as many of them are set in pure javascript files that aren't processed by rails at all.

@openstreetmap-trac
Copy link
Author

Author: ToB
[Added to the original trac issue at 2.49pm, Thursday, 4th June 2009]

See also [http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Lang]

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.50pm, Thursday, 4th June 2009]

What about it? Yes, that's where the data from translatewiki gets checked in, but I don't see what is important about that. OpenLayers translations get checked into the OpenLayers repo and then become part of OL releases and get used on our site.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.53pm, Thursday, 4th June 2009]

BTW the reason why none of the other languages supported by OL 2.7 are currently showing up on the site is that the default OL build only includes the English resources. I will need to create a custom OL build to get the others.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 8.43pm, Thursday, 4th June 2009]

I've now deployed a custom OpenLayers build with extra languages added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant