Rename 'Tags' vocabulary to the singular 'tag' for consistency

Created on 9 January 2017, almost 8 years ago
Updated 4 July 2024, 4 months ago

Node bundles in the standard profile:
article
page

User bundle:
user

Block bundle:
basic

Taxonomy bundle:
tags

Why is only one plural and the other default bundles singular? We should aways be consistent when providing defaults.

I get that changing the machine name would possibly mess up a lot of sites because folks unfortunately just install Standard profile and run with it instead of considering their own install profile with their own bundles.

However, I stand that with the next major version change, we should strongly consider refactoring the "out of the box" entity bundles and re-think what kind of DX confusion is caused by having both plural and singular used across the "default" bundle names.

I have many times run into issues with 'tags' (or any bundle name that is plural) due to this inconsistency.

I am not saying we should enforce people to not use plurals in bundle names, we should encourage consistency.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
TaxonomyΒ  β†’

Last updated about 2 hours ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @xjm
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡ΊπŸ‡ΈUnited States saltednut Chicago

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada nord102

    I would argue that Tags makes sense to be a plural.

    My thought process is that if we think of a Taxonomy Term to be the equivalent to a Node, then a collection(taxonomy) of Terms is equivalent to a view of Nodes, where the latter two are plural. When you name a view, it's typically the plural (E.g. Article content type will have a view of Articles). I think the same logic would apply to Taxonomy, where In this case, Tags would represent the collection(taxonomy) of Tag Terms, where each term is the singular and the collection(taxonomy) is the plural.

  • πŸ‡§πŸ‡ͺBelgium rp7

    @nord102 I'm not sure I agree with your reasoning.

    It seems you might be mixing a taxonomy vocabulary and a collection of terms. A taxonomy vocabulary is more accurately described as a "type" of term rather than a collection of terms.

    To illustrate this, consider the analogy with content types: just as we refer to a content type in the singular (e.g., "Article" for individual articles), it makes sense to refer to a taxonomy vocabulary in the singular (e.g., "Tag" for individual tags). Each term within a taxonomy vocabulary is a specific instance of that type. Therefore, the vocabulary itself should be named in the singular to reflect this relationship.

    In your analogy, a view of nodes, such as "Articles," represents a collection of individual articles, which is why it is named in the plural. However, the taxonomy vocabulary serves a different role: it defines the type of terms that can be used, similar to how a content type defines the structure of individual pieces of content.

    Using the singular form for taxonomy vocabularies maintains consistency and clarity, ensuring that we distinguish between the type (taxonomy vocabulary) and the instances of that type (terms within the vocabulary).

  • πŸ‡ΊπŸ‡ΈUnited States jeff.hartman

    +1 and I agree with @nord102 for keeping Vocabularies plural. It's a collection of related terms.

Production build 0.71.5 2024