Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Default blueprint name is wrongly singularized for non-English collection titles

Abierto
#15,557 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@wakqasahmed ya está trabajando en esto.

Desde el 15/10/2026.

  • #15655 de @wakqasahmed — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php

Línea de trabajo

Start by locating where Statamic generates a default blueprint and applies Str::singular() to the collection title or handle. Reproduce the issue with the German collection title “Aktuelles” and inspect the generated blueprint name and handle. Done means the default blueprint keeps an appropriate German name and handle, and entries continue to reference that blueprint correctly.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

i18n
Bug description

When a collection has no saved blueprint yet, Statamic generates a default blueprint and names it by singularizing the collection's title and handle with Str::singular(). That only applies English rules, so non-English titles can end up with a grammatically wrong blueprint name.

Example (German): a collection titled "Aktuelles" gets a blueprint titled "Aktuelle" with the handle aktuelle. "Aktuelles" is not a plural, and "Aktuelle" is not a correct word in this context. Same happens with "Verzeichnis" → "Verzeichni".

Image
How to reproduce
  1. Set the Control Panel language to German.
  2. Create a collection titled "Aktuelles".
  3. Open the collection's blueprints.

The blueprint is titled "Aktuelle" (handle aktuelle). Entries created in this collection are saved with blueprint: aktuelle.

Expected: the blueprint is titled "Aktuelles" (and ideally has the handle aktuelles).

Logs

Environment
Environment
Laravel Version: 13.34.0
PHP Version: 8.4.23
Composer Version: 2.10.1
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: de_CH

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: background
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 1
License Key: Set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.34.1 PRO

Statamic Addons
statamic/seo-pro: 7.15.0
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Lenguaje dominante
PHP
Estrellas
4.9k
Forks
647
Merge medio
1 d 17 h
PR fusionados (30 d)
111

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de statamic/cms

Todos los issues de statamic/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.