thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Wiki Date Localization #57

Closed thomersch closed 3 years ago

thomersch commented 3 years ago

The date are not translated in the french wiki.

Screen copy

Is it related to openstreetmap-calendar or to the wiki template ? Where is the wiki template code ?

This message in France page is not translated too:

Add your event to OpenStreetMap Calendar

Or in the german page:

German page

Originally posted by @pyrog in https://github.com/thomersch/openstreetmap-calendar/issues/53#issuecomment-748821139

I split your comment out into a new issue.

thomersch commented 3 years ago

The code of the wiki extension lives in https://github.com/thomersch/OSMCALWikiWidget

From within the wiki, the extension can be told using the lang flag which locale to use. The german site uses <osmcal lang="de" />. The main pages though import Template:Calendar3, which in turn imports Template:Calendar. I believe it is possible to have localized versions of templates, but wasn't able to figure it out so far. Would be happy to get some help with this :)

thomersch commented 3 years ago

Thanks to @1ec5 for the wiki tweaks!

Screenshot 2020-12-22 at 15 01 25