Module talk:CarouselMap/config/OpenHistoricalMap

From OpenStreetMap Wiki
Jump to navigation Jump to search

It seems that this module does not support multiple languages?

Language codes such as zh-hans and zh-hant may even cause errors.——Lepus (talk) 08:20, 24 October 2023 (UTC)

@Lepus: This module does support multiple languages, and I've fixed Zh-hans:OpenHistoricalMap and Zh-hant:OpenHistoricalMap to show the translations. The reason you were seeing errors was that the Lua language requires the property name to be wrapped in in ["…"] if it has any non-identifier characters such as hyphens. – Minh Nguyễn 💬 21:32, 12 February 2024 (UTC)