KEMBAR78
Implementation of the multilanguage support for Switch2OSM. · Issue #224 · switch2osm/switch2osm · GitHub
Skip to content

Implementation of the multilanguage support for Switch2OSM. #224

@Andygol

Description

@Andygol

Dear all,

I want to share a ready-to-use implementation of the multilanguage support for Switch2OSM.

https://github.com/Andygol/switch2osm-mkdocs
(see demo: https://andygol.github.io/switch2osm-mkdocs/)

There were several proposals to do this, #24 and #92. Unfortunately, it was very difficult to implement this with Jekyll. So, I opted for MkDocs, because it helps to do this with ease and have some extra features out of the box:

  • day/night theme switcher
  • search
  • syntax highlighting
  • info boxes
  • auto deployment and other

I’ve moved the content and cleaned up formatting of the source *.md files, and set up Transifex project to support translations. I neither copied the current design nor rewrote some outdated parts (like the part about using OpenLayers, which references an outdated version of the library, which makes the code used for the library not working).

If you like what I’ve done, I could help with porting my work to the main repository.

I hope this update will help to engage the community to provide localized materials that help with switching to using OSM globally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions