Skip to content

Underscore/colon as language field separator #72

@SvanteRichter

Description

@SvanteRichter

Hello!

Could I ask the reason to use underscore in the language fields (name_en and name_de)? Seems like protomaps are using colon, and openmaptiles have moved to colon but are keeping name_en, name_de and name_int (probably for compatability? openmaptiles/openmaptiles#279).

When adding more languages (like for #68) is the plan to align with protomaps & openmaptiles and use colon or will underscore be used for those?

I'm asking since examples like maplibre (https://maplibre.org/maplibre-gl-js/docs/examples/language-switch/) and plugins (https://github.com/teritorio/openmaptiles-gl-language) seem to default to using colon as the separator.

It also seems like some docs here use colon: https://github.com/shortbread-tiles/shortbread-docs/blob/main/shortbread-website/static/taginfo.json#L18 and some issues use it too (#22) so I think having a clear, documented separator might be nice.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    specImprovements or additions to the specification

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions